Color #ac2887
A moderately saturated medium magenta.
Conversions
#ac2887
rgb(172, 40, 135)
hsl(316.8, 62.3%, 41.6%)
hsv(316.8, 76.7%, 67.5%)
cmyk(0%, 76.7%, 21.5%, 32.5%)
lab(41.28, 60.78, -22.18)
lch(41.28, 64.7, 339.95)
oklch(51.9%, 0.1921, 341.92)
hwb(316.8, 15.7%, 32.5%)
Harmony colors
Accessibility
White text reads better on this background (6.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#878678 · ΔE 39.4
Deuteranopia
#8d9474 · ΔE 51.7
Tritanopia
#a86b68 · ΔE 23.7
Achromatopsia
#616161 · ΔE 26.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ac2887;
bg-[#ac2887]
Related colors
Frequently asked questions
#ac2887 (#ac2887) is rgb(172, 40, 135) in RGB.
No, #ac2887 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 #ac2887, or check how it holds up for accessibility.