Skip to content
Kolorvia
#ac2887

Color #ac2887

A moderately saturated medium magenta.

Conversions

HEX
#ac2887
RGB
rgb(172, 40, 135)
HSL
hsl(316.8, 62.3%, 41.6%)
HSV / HSB
hsv(316.8, 76.7%, 67.5%)
CMYK
cmyk(0%, 76.7%, 21.5%, 32.5%)
LAB
lab(41.28, 60.78, -22.18)
LCH
lch(41.28, 64.7, 339.95)
OKLCH
oklch(51.9%, 0.1921, 341.92)
HWB
hwb(316.8, 15.7%, 32.5%)

Harmony colors

Complementary

#28ac4d

Analogous

#8f28ac
#ac2887
#ac2845

Triadic

#ac2887
#87ac28
#2887ac

Split-complementary

#ac2887
#45ac28
#28ac8f

Tetradic

#ac2887
#ac4d28
#28ac4d
#2887ac

Square

#ac2887
#ac8f28
#28ac4d
#2845ac

Shades

Color #ac2887 mixed toward black.

#8f2171
#731b5a
#561444
#390d2d
#1d0717

Tints

Color #ac2887 mixed toward white.

#d036a5
#da5eb7
#e386c9
#ecaedb
#f6d7ed

Tones

Color #ac2887 mixed toward gray.

#a13382
#963e7d
#8b4979
#805474
#755f6f

Accessibility

Aa White text on this color
6.16:1
Aa Black text on this color
3.41:1

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

CSS
background-color: #ac2887;
Tailwind (arbitrary value)
bg-[#ac2887]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

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

Build something with this color

Generate a full palette from #ac2887, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.