Skip to content
Vectorlight.net

#c702ab

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

HEX
#c702ab
RGB
199, 2, 171
HSL
308.53°, 98.01%, 39.41%
OKLCH
0.57 0.25 336.44
Names
—
Lists

Codes

FormatValue
HEX#c702ab
RGBrgb(199 2 171)
HSLhsl(308.53 98.01% 39.41%)
OKLCHoklch(0.57 0.25 336.44)
CMYKcmyk(0% 98.99% 14.07% 21.96%)
Android#ffc702ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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