Skip to content
Vectorlight.net

#ac2eba

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

HEX
#ac2eba
RGB
172, 46, 186
HSL
294°, 60.34%, 45.49%
OKLCH
0.55 0.22 323.52
Names
—
Lists

Codes

FormatValue
HEX#ac2eba
RGBrgb(172 46 186)
HSLhsl(294 60.34% 45.49%)
OKLCHoklch(0.55 0.22 323.52)
CMYKcmyk(7.53% 75.27% 0% 27.06%)
Android#ffac2eba

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.44:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.85: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="#ac2eba"
Gradient stop
<stop stop-color="#ac2eba"/>
CSS variable + fill
:root { --c: #ac2eba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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