Color #af5b9c
A muted medium magenta.
Conversions
#af5b9c
rgb(175, 91, 156)
hsl(313.6, 34.4%, 52.2%)
hsv(313.6, 48%, 68.6%)
cmyk(0%, 48%, 10.9%, 31.4%)
lab(50.69, 42.95, -20.27)
lch(50.69, 47.49, 334.74)
oklch(59.2%, 0.1361, 336.35)
hwb(313.6, 35.7%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (4.8:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#929290 · ΔE 27.8
Deuteranopia
#969c8c · ΔE 38.9
Tritanopia
#ac8582 · ΔE 21.3
Achromatopsia
#797979 · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af5b9c;
bg-[#af5b9c]
Related colors
Frequently asked questions
#af5b9c (#af5b9c) is rgb(175, 91, 156) in RGB.
No, #af5b9c 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 #af5b9c, or check how it holds up for accessibility.