Skip to content
Vectorlight.net

#c602aa

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

HEX
#c602aa
RGB
198, 2, 170
HSL
308.57°, 98%, 39.22%
OKLCH
0.56 0.25 336.48
Names
—
Lists

Codes

FormatValue
HEX#c602aa
RGBrgb(198 2 170)
HSLhsl(308.57 98% 39.22%)
OKLCHoklch(0.56 0.25 336.48)
CMYKcmyk(0% 98.99% 14.14% 22.35%)
Android#ffc602aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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