Skip to content
Vectorlight.net

#c702c8

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

HEX
#c702c8
RGB
199, 2, 200
HSL
299.7°, 98.02%, 39.61%
OKLCH
0.58 0.27 328.09
Names
—
Lists

Codes

FormatValue
HEX#c702c8
RGBrgb(199 2 200)
HSLhsl(299.7 98.02% 39.61%)
OKLCHoklch(0.58 0.27 328.09)
CMYKcmyk(0.5% 99% 0% 21.57%)
Android#ffc702c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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