Skip to content
Vectorlight.net

#ac2cbd

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ac2cbd
RGB
172, 44, 189
HSL
292.97°, 62.23%, 45.69%
OKLCH
0.55 0.23 322.67
Names
—
Lists

Codes

FormatValue
HEX#ac2cbd
RGBrgb(172 44 189)
HSLhsl(292.97 62.23% 45.69%)
OKLCHoklch(0.55 0.23 322.67)
CMYKcmyk(8.99% 76.72% 0% 25.88%)
Android#ffac2cbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.45:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.84:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ac2cbd"
Gradient stop
<stop stop-color="#ac2cbd"/>
CSS variable + fill
:root { --c: #ac2cbd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ac2cbd;
background-color: #ac2cbd;
bg-[#ac2cbd]