Color #ac7ba8
A muted medium magenta.
Conversions
#ac7ba8
rgb(172, 123, 168)
hsl(304.9, 22.8%, 57.8%)
hsv(304.9, 28.5%, 67.5%)
cmyk(0%, 28.5%, 2.3%, 32.5%)
lab(57.81, 26.62, -16.42)
lch(57.81, 31.28, 328.33)
oklch(64.7%, 0.0866, 329.32)
hwb(304.9, 48.2%, 32.5%)
Harmony colors
Accessibility
Black text reads better on this background (6.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#99999f · ΔE 19.8
Deuteranopia
#9c9f9c · ΔE 26.5
Tritanopia
#aa9795 · ΔE 18.3
Achromatopsia
#8b8b8b · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ac7ba8;
bg-[#ac7ba8]
Related colors
Frequently asked questions
#ac7ba8 (#ac7ba8) is rgb(172, 123, 168) in RGB.
No, #ac7ba8 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 #ac7ba8, or check how it holds up for accessibility.