Color #af7fa5
A muted medium magenta.
Conversions
#af7fa5
rgb(175, 127, 165)
hsl(312.5, 23.1%, 59.2%)
hsv(312.5, 27.4%, 68.6%)
cmyk(0%, 27.4%, 5.7%, 31.4%)
lab(58.98, 24.84, -12.89)
lch(58.98, 27.99, 332.57)
oklch(65.6%, 0.0787, 333.99)
hwb(312.5, 49.8%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (6.4:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9d9c9d · ΔE 20.3
Deuteranopia
#9fa29b · ΔE 27.9
Tritanopia
#ad9695 · ΔE 15.5
Achromatopsia
#8e8e8e · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af7fa5;
bg-[#af7fa5]
Related colors
Frequently asked questions
#af7fa5 (#af7fa5) is rgb(175, 127, 165) in RGB.
No, #af7fa5 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 #af7fa5, or check how it holds up for accessibility.