Skip to content
Vectorlight.net

#cc0396

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

HEX
#cc0396
RGB
204, 3, 150
HSL
316.12°, 97.1%, 40.59%
OKLCH
0.56 0.24 344.56
Names
—
Lists

Codes

FormatValue
HEX#cc0396
RGBrgb(204 3 150)
HSLhsl(316.12 97.1% 40.59%)
OKLCHoklch(0.56 0.24 344.56)
CMYKcmyk(0% 98.53% 26.47% 20%)
Android#ffcc0396

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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