Skip to content
Vectorlight.net

#c602ab

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

HEX
#c602ab
RGB
198, 2, 171
HSL
308.27°, 98%, 39.22%
OKLCH
0.56 0.25 336.17
Names
—
Lists

Codes

FormatValue
HEX#c602ab
RGBrgb(198 2 171)
HSLhsl(308.27 98% 39.22%)
OKLCHoklch(0.56 0.25 336.17)
CMYKcmyk(0% 98.99% 13.64% 22.35%)
Android#ffc602ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.25: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="#c602ab"
Gradient stop
<stop stop-color="#c602ab"/>
CSS variable + fill
:root { --c: #c602ab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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