Color #af97af
A nearly neutral, gray-leaning light magenta.
Conversions
#af97af
rgb(175, 151, 175)
hsl(300, 13%, 63.9%)
hsv(300, 13.7%, 68.6%)
cmyk(0%, 13.7%, 0%, 31.4%)
lab(65.23, 13.23, -9.2)
lch(65.23, 16.11, 325.19)
oklch(70.5%, 0.0439, 326.06)
hwb(300, 59.2%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (7.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a5a5aa · ΔE 12.9
Deuteranopia
#a7a8a8 · ΔE 15.2
Tritanopia
#aea5a4 · ΔE 12.5
Achromatopsia
#9e9e9e · ΔE 14.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af97af;
bg-[#af97af]
Related colors
Frequently asked questions
#af97af (#af97af) is rgb(175, 151, 175) in RGB.
No, #af97af 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 #af97af, or check how it holds up for accessibility.