Skip to content
Vectorlight.net

#ac5ea1

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

HEX
#ac5ea1
RGB
172, 94, 161
HSL
308.46°, 31.97%, 52.16%
OKLCH
0.6 0.13 332.51
Names
—
Lists

Codes

FormatValue
HEX#ac5ea1
RGBrgb(172 94 161)
HSLhsl(308.46 31.97% 52.16%)
OKLCHoklch(0.6 0.13 332.51)
CMYKcmyk(0% 45.35% 6.4% 32.55%)
Android#ffac5ea1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#ac5ea1"
Gradient stop
<stop stop-color="#ac5ea1"/>
CSS variable + fill
:root { --c: #ac5ea1; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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