Skip to content
Vectorlight.net

#c802cb

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

HEX
#c802cb
RGB
200, 2, 203
HSL
299.1°, 98.05%, 40.2%
OKLCH
0.59 0.27 327.56
Names
—
Lists

Codes

FormatValue
HEX#c802cb
RGBrgb(200 2 203)
HSLhsl(299.1 98.05% 40.2%)
OKLCHoklch(0.59 0.27 327.56)
CMYKcmyk(1.48% 99.01% 0% 20.39%)
Android#ffc802cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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