Skip to content
Vectorlight.net

#ac04cb

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

HEX
#ac04cb
RGB
172, 4, 203
HSL
290.65°, 96.14%, 40.59%
OKLCH
0.54 0.26 319.51
Names
—
Lists

Codes

FormatValue
HEX#ac04cb
RGBrgb(172 4 203)
HSLhsl(290.65 96.14% 40.59%)
OKLCHoklch(0.54 0.26 319.51)
CMYKcmyk(15.27% 98.03% 0% 20.39%)
Android#ffac04cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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