Color #af7da2
A muted medium magenta.
Conversions
#af7da2
rgb(175, 125, 162)
hsl(315.6, 23.8%, 58.8%)
hsv(315.6, 28.6%, 68.6%)
cmyk(0%, 28.6%, 7.4%, 31.4%)
lab(58.41, 25.42, -12.04)
lch(58.41, 28.13, 334.66)
oklch(65.1%, 0.0797, 336.23)
hwb(315.6, 49%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (6.28:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9c9b9a · ΔE 21.4
Deuteranopia
#9fa298 · ΔE 29.7
Tritanopia
#ad9392 · ΔE 14.9
Achromatopsia
#8c8c8c · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af7da2;
bg-[#af7da2]
Related colors
Frequently asked questions
#af7da2 (#af7da2) is rgb(175, 125, 162) in RGB.
No, #af7da2 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 #af7da2, or check how it holds up for accessibility.