Skip to content
Vectorlight.net

#c602ac

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

HEX
#c602ac
RGB
198, 2, 172
HSL
307.96°, 98%, 39.22%
OKLCH
0.57 0.25 335.87
Names
—
Lists

Codes

FormatValue
HEX#c602ac
RGBrgb(198 2 172)
HSLhsl(307.96 98% 39.22%)
OKLCHoklch(0.57 0.25 335.87)
CMYKcmyk(0% 98.99% 13.13% 22.35%)
Android#ffc602ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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