Skip to content
Vectorlight.net

#c02baa

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

HEX
#c02baa
RGB
192, 43, 170
HSL
308.86°, 63.4%, 46.08%
OKLCH
0.57 0.22 335.06
Names
—
Lists

Codes

FormatValue
HEX#c02baa
RGBrgb(192 43 170)
HSLhsl(308.86 63.4% 46.08%)
OKLCHoklch(0.57 0.22 335.06)
CMYKcmyk(0% 77.6% 11.46% 24.71%)
Android#ffc02baa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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