Color #ab6ab6
A muted medium magenta.
Conversions
#ab6ab6
rgb(171, 106, 182)
hsl(291.3, 34.2%, 56.5%)
hsv(291.3, 41.8%, 71.4%)
cmyk(6%, 41.8%, 0%, 28.6%)
lab(54.39, 38.5, -29.74)
lch(54.39, 48.65, 322.32)
oklch(62.3%, 0.1316, 321.63)
hwb(291.3, 41.6%, 28.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.47:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9393a8 · ΔE 18.7
Deuteranopia
#979ba4 · ΔE 21.7
Tritanopia
#a89b98 · ΔE 25.5
Achromatopsia
#828282 · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab6ab6;
bg-[#ab6ab6]
Related colors
Frequently asked questions
#ab6ab6 (#ab6ab6) is rgb(171, 106, 182) in RGB.
No, #ab6ab6 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 #ab6ab6, or check how it holds up for accessibility.