Color #af7b9f
A muted medium magenta.
Conversions
#af7b9f
rgb(175, 123, 159)
hsl(318.5, 24.5%, 58.4%)
hsv(318.5, 29.7%, 68.6%)
cmyk(0%, 29.7%, 9.1%, 31.4%)
lab(57.83, 26.01, -11.18)
lch(57.83, 28.31, 336.74)
oklch(64.7%, 0.0808, 338.42)
hwb(318.5, 48.2%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (6.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9b9b97 · ΔE 24.4
Deuteranopia
#9ea295 · ΔE 31.8
Tritanopia
#ad918f · ΔE 14.9
Achromatopsia
#8b8b8b · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af7b9f;
bg-[#af7b9f]
Related colors
Frequently asked questions
#af7b9f (#af7b9f) is rgb(175, 123, 159) in RGB.
No, #af7b9f 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 #af7b9f, or check how it holds up for accessibility.