Skip to content
Vectorlight.net

#c02caa

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

HEX
#c02caa
RGB
192, 44, 170
HSL
308.92°, 62.71%, 46.27%
OKLCH
0.57 0.22 335.08
Names
—
Lists

Codes

FormatValue
HEX#c02caa
RGBrgb(192 44 170)
HSLhsl(308.92 62.71% 46.27%)
OKLCHoklch(0.57 0.22 335.08)
CMYKcmyk(0% 77.08% 11.46% 24.71%)
Android#ffc02caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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