Skip to content
Vectorlight.net

#c602bf

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

HEX
#c602bf
RGB
198, 2, 191
HSL
302.14°, 98%, 39.22%
OKLCH
0.58 0.26 330.29
Names
—
Lists

Codes

FormatValue
HEX#c602bf
RGBrgb(198 2 191)
HSLhsl(302.14 98% 39.22%)
OKLCHoklch(0.58 0.26 330.29)
CMYKcmyk(0% 98.99% 3.54% 22.35%)
Android#ffc602bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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