Skip to content
Vectorlight.net

#c702bf

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

HEX
#c702bf
RGB
199, 2, 191
HSL
302.44°, 98.01%, 39.41%
OKLCH
0.58 0.26 330.56
Names
—
Lists

Codes

FormatValue
HEX#c702bf
RGBrgb(199 2 191)
HSLhsl(302.44 98.01% 39.41%)
OKLCHoklch(0.58 0.26 330.56)
CMYKcmyk(0% 98.99% 4.02% 21.96%)
Android#ffc702bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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