Skip to content
Vectorlight.net

#c902ca

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

HEX
#c902ca
RGB
201, 2, 202
HSL
299.7°, 98.04%, 40%
OKLCH
0.59 0.27 328.09
Names
—
Lists

Codes

FormatValue
HEX#c902ca
RGBrgb(201 2 202)
HSLhsl(299.7 98.04% 40%)
OKLCHoklch(0.59 0.27 328.09)
CMYKcmyk(0.5% 99.01% 0% 20.78%)
Android#ffc902ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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