Color #ab7baf
A muted medium magenta.
Conversions
#ab7baf
rgb(171, 123, 175)
hsl(295.4, 24.5%, 58.4%)
hsv(295.4, 29.7%, 68.6%)
cmyk(2.3%, 29.7%, 0%, 31.4%)
lab(57.96, 27.64, -20.22)
lch(57.96, 34.25, 323.81)
oklch(64.9%, 0.0932, 323.99)
hwb(295.4, 48.2%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (6.18:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9998a4 · ΔE 17.9
Deuteranopia
#9b9fa2 · ΔE 19.6
Tritanopia
#a99b99 · ΔE 20.4
Achromatopsia
#8b8b8b · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab7baf;
bg-[#ab7baf]
Related colors
Frequently asked questions
#ab7baf (#ab7baf) is rgb(171, 123, 175) in RGB.
No, #ab7baf 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 #ab7baf, or check how it holds up for accessibility.