Color #af71bb
A muted medium magenta.
Conversions
#af71bb
rgb(175, 113, 187)
hsl(290.3, 35.2%, 58.8%)
hsv(290.3, 39.6%, 73.3%)
cmyk(6.4%, 39.6%, 0%, 26.7%)
lab(56.6, 36.91, -29.15)
lch(56.6, 47.03, 321.7)
oklch(64.1%, 0.1269, 320.92)
hwb(290.3, 44.3%, 26.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.9:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9898ad · ΔE 18.2
Deuteranopia
#9ba0a9 · ΔE 20.9
Tritanopia
#ada09d · ΔE 25
Achromatopsia
#888888 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af71bb;
bg-[#af71bb]
Related colors
Frequently asked questions
#af71bb (#af71bb) is rgb(175, 113, 187) in RGB.
No, #af71bb 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 #af71bb, or check how it holds up for accessibility.