Skip to content
Vectorlight.net

#ac01cb

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

HEX
#ac01cb
RGB
172, 1, 203
HSL
290.79°, 99.02%, 40%
OKLCH
0.54 0.26 319.54
Names
—
Lists

Codes

FormatValue
HEX#ac01cb
RGBrgb(172 1 203)
HSLhsl(290.79 99.02% 40%)
OKLCHoklch(0.54 0.26 319.54)
CMYKcmyk(15.27% 99.51% 0% 20.39%)
Android#ffac01cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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