Color #ab6b97
A muted medium magenta.
Conversions
#ab6b97
rgb(171, 107, 151)
hsl(318.8, 27.6%, 54.5%)
hsv(318.8, 37.4%, 67.1%)
cmyk(0%, 37.4%, 11.7%, 32.9%)
lab(53.39, 32.14, -13.26)
lch(53.39, 34.77, 337.58)
oklch(61.1%, 0.1, 339.34)
hwb(318.8, 42%, 32.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.28:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#94938e · ΔE 26.7
Deuteranopia
#979b8c · ΔE 34.7
Tritanopia
#a98684 · ΔE 16.5
Achromatopsia
#808080 · ΔE 22.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab6b97;
bg-[#ab6b97]
Related colors
Frequently asked questions
#ab6b97 (#ab6b97) is rgb(171, 107, 151) in RGB.
No, #ab6b97 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 #ab6b97, or check how it holds up for accessibility.