Color #af7aa8
A muted medium magenta.
Conversions
#af7aa8
rgb(175, 122, 168)
hsl(307.9, 24.9%, 58.2%)
hsv(307.9, 30.3%, 68.6%)
cmyk(0%, 30.3%, 4%, 31.4%)
lab(57.91, 28.21, -16.25)
lch(57.91, 32.56, 330.06)
oklch(64.8%, 0.0908, 331.23)
hwb(307.9, 47.8%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (6.17:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9b9a9e · ΔE 20.6
Deuteranopia
#9ea19c · ΔE 28.2
Tritanopia
#ad9694 · ΔE 17.9
Achromatopsia
#8b8b8b · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af7aa8;
bg-[#af7aa8]
Related colors
Frequently asked questions
#af7aa8 (#af7aa8) is rgb(175, 122, 168) in RGB.
No, #af7aa8 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 #af7aa8, or check how it holds up for accessibility.