Color #ab488e
A moderately saturated medium magenta.
Conversions
#ab488e
rgb(171, 72, 142)
hsl(317.6, 40.7%, 47.6%)
hsv(317.6, 57.9%, 67.1%)
cmyk(0%, 57.9%, 17%, 32.9%)
lab(45.97, 48.89, -19.21)
lch(45.97, 52.53, 338.55)
oklch(55.4%, 0.1537, 340.39)
hwb(317.6, 28.2%, 32.9%)
Harmony colors
Accessibility
White text reads better on this background (5.19:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8b8a81 · ΔE 33.3
Deuteranopia
#90967e · ΔE 44.1
Tritanopia
#a87673 · ΔE 21.5
Achromatopsia
#6d6d6d · ΔE 25.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab488e;
bg-[#ab488e]
Related colors
Frequently asked questions
#ab488e (#ab488e) is rgb(171, 72, 142) in RGB.
No, #ab488e 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 #ab488e, or check how it holds up for accessibility.