Skip to content
Vectorlight.net

#c70c8a

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

HEX
#c70c8a
RGB
199, 12, 138
HSL
319.57°, 88.63%, 41.37%
OKLCH
0.55 0.23 347.62
Names
—
Lists

Codes

FormatValue
HEX#c70c8a
RGBrgb(199 12 138)
HSLhsl(319.57 88.63% 41.37%)
OKLCHoklch(0.55 0.23 347.62)
CMYKcmyk(0% 93.97% 30.65% 21.96%)
Android#ffc70c8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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