Color #af7ca2
A muted medium magenta.
Conversions
#af7ca2
rgb(175, 124, 162)
hsl(315.3, 24.2%, 58.6%)
hsv(315.3, 29.1%, 68.6%)
cmyk(0%, 29.1%, 7.4%, 31.4%)
lab(58.17, 25.98, -12.4)
lch(58.17, 28.79, 334.49)
oklch(65%, 0.0815, 336.04)
hwb(315.3, 48.6%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (6.23:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9c9b9a · ΔE 21.6
Deuteranopia
#9ea298 · ΔE 30.5
Tritanopia
#ad9392 · ΔE 15.2
Achromatopsia
#8c8c8c · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af7ca2;
bg-[#af7ca2]
Related colors
Frequently asked questions
#af7ca2 (#af7ca2) is rgb(175, 124, 162) in RGB.
No, #af7ca2 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 #af7ca2, or check how it holds up for accessibility.