Skip to content
Vectorlight.net

#c02ace

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

HEX
#c02ace
RGB
192, 42, 206
HSL
294.88°, 66.13%, 48.63%
OKLCH
0.59 0.25 324.16
Names
—
Lists

Codes

FormatValue
HEX#c02ace
RGBrgb(192 42 206)
HSLhsl(294.88 66.13% 48.63%)
OKLCHoklch(0.59 0.25 324.16)
CMYKcmyk(6.8% 79.61% 0% 19.22%)
Android#ffc02ace

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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