Skip to content
Vectorlight.net

#cc2eac

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

HEX
#cc2eac
RGB
204, 46, 172
HSL
312.15°, 63.2%, 49.02%
OKLCH
0.59 0.23 337.9
Names
—
Lists

Codes

FormatValue
HEX#cc2eac
RGBrgb(204 46 172)
HSLhsl(312.15 63.2% 49.02%)
OKLCHoklch(0.59 0.23 337.9)
CMYKcmyk(0% 77.45% 15.69% 20%)
Android#ffcc2eac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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