Color #ab7aa2
A muted medium magenta.
Conversions
#ab7aa2
rgb(171, 122, 162)
hsl(311, 22.6%, 57.5%)
hsv(311, 28.7%, 67.1%)
cmyk(0%, 28.7%, 5.3%, 32.9%)
lab(57.26, 25.71, -13.81)
lch(57.26, 29.18, 331.76)
oklch(64.2%, 0.0818, 333.12)
hwb(311, 47.8%, 32.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.04:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#98989a · ΔE 20.7
Deuteranopia
#9b9e97 · ΔE 28.4
Tritanopia
#a99291 · ΔE 16
Achromatopsia
#898989 · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab7aa2;
bg-[#ab7aa2]
Related colors
Frequently asked questions
#ab7aa2 (#ab7aa2) is rgb(171, 122, 162) in RGB.
No, #ab7aa2 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 #ab7aa2, or check how it holds up for accessibility.