Skip to content
Vectorlight.net

#c702cb

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

HEX
#c702cb
RGB
199, 2, 203
HSL
298.81°, 98.05%, 40.2%
OKLCH
0.59 0.27 327.29
Names
—
Lists

Codes

FormatValue
HEX#c702cb
RGBrgb(199 2 203)
HSLhsl(298.81 98.05% 40.2%)
OKLCHoklch(0.59 0.27 327.29)
CMYKcmyk(1.97% 99.01% 0% 20.39%)
Android#ffc702cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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