Color #af11a8
A vivid, highly saturated dark magenta.
Conversions
#af11a8
rgb(175, 17, 168)
hsl(302.7, 82.3%, 37.6%)
hsv(302.7, 90.3%, 68.6%)
cmyk(0%, 90.3%, 4%, 31.4%)
lab(41.76, 71.18, -41.36)
lch(41.76, 82.32, 329.84)
oklch(52.9%, 0.2325, 330.49)
hwb(302.7, 6.7%, 31.4%)
Harmony colors
Accessibility
White text reads better on this background (6.05:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#888794 · ΔE 29.8
Deuteranopia
#8e958f · ΔE 42.4
Tritanopia
#ab827e · ΔE 31.9
Achromatopsia
#626262 · ΔE 28.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af11a8;
bg-[#af11a8]
Related colors
Frequently asked questions
#af11a8 (#af11a8) is rgb(175, 17, 168) in RGB.
No, #af11a8 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #af11a8, or check how it holds up for accessibility.