Skip to content
Vectorlight.net

#ac1eba

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

HEX
#ac1eba
RGB
172, 30, 186
HSL
294.62°, 72.22%, 42.35%
OKLCH
0.54 0.24 323.88
Names
—
Lists

Codes

FormatValue
HEX#ac1eba
RGBrgb(172 30 186)
HSLhsl(294.62 72.22% 42.35%)
OKLCHoklch(0.54 0.24 323.88)
CMYKcmyk(7.53% 83.87% 0% 27.06%)
Android#ffac1eba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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