Color #af7899
A muted medium magenta.
Conversions
#af7899
rgb(175, 120, 153)
hsl(324, 25.6%, 57.8%)
hsv(324, 31.4%, 68.6%)
cmyk(0%, 31.4%, 12.6%, 31.4%)
lab(56.93, 26.64, -9.06)
lch(56.93, 28.14, 341.22)
oklch(63.9%, 0.0815, 342.94)
hwb(324, 47.1%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.97:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a9a92 · ΔE 26.9
Deuteranopia
#9da190 · ΔE 33.3
Tritanopia
#ad8c8b · ΔE 13.2
Achromatopsia
#898989 · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af7899;
bg-[#af7899]
Related colors
Frequently asked questions
#af7899 (#af7899) is rgb(175, 120, 153) in RGB.
No, #af7899 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 #af7899, or check how it holds up for accessibility.