Skip to content
Vectorlight.net

#ac0cbc

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

HEX
#ac0cbc
RGB
172, 12, 188
HSL
294.55°, 88%, 39.22%
OKLCH
0.54 0.25 323.54
Names
—
Lists

Codes

FormatValue
HEX#ac0cbc
RGBrgb(172 12 188)
HSLhsl(294.55 88% 39.22%)
OKLCHoklch(0.54 0.25 323.54)
CMYKcmyk(8.51% 93.62% 0% 26.27%)
Android#ffac0cbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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