Color #af1eb6
A vivid, highly saturated medium magenta.
Conversions
#af1eb6
rgb(175, 30, 182)
hsl(297.2, 71.7%, 41.6%)
hsv(297.2, 83.5%, 71.4%)
cmyk(3.8%, 83.5%, 0%, 28.6%)
lab(43.39, 71, -47.06)
lch(43.39, 85.18, 326.46)
oklch(54.3%, 0.2347, 326.05)
hwb(297.2, 11.8%, 28.6%)
Harmony colors
Accessibility
White text reads better on this background (5.7:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8988a1 · ΔE 27.7
Deuteranopia
#8f969c · ΔE 26.7
Tritanopia
#ab8e89 · ΔE 34.2
Achromatopsia
#666666 · ΔE 29.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af1eb6;
bg-[#af1eb6]
Related colors
Frequently asked questions
#af1eb6 (#af1eb6) is rgb(175, 30, 182) in RGB.
No, #af1eb6 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 #af1eb6, or check how it holds up for accessibility.