Skip to content
Vectorlight.net

#c702b3

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

HEX
#c702b3
RGB
199, 2, 179
HSL
306.09°, 98.01%, 39.41%
OKLCH
0.57 0.25 334.02
Names
—
Lists

Codes

FormatValue
HEX#c702b3
RGBrgb(199 2 179)
HSLhsl(306.09 98.01% 39.41%)
OKLCHoklch(0.57 0.25 334.02)
CMYKcmyk(0% 98.99% 10.05% 21.96%)
Android#ffc702b3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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