Skip to content
Vectorlight.net

#c70271

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

HEX
#c70271
RGB
199, 2, 113
HSL
326.19°, 98.01%, 39.41%
OKLCH
0.54 0.22 356.82
Names
—
Lists

Codes

FormatValue
HEX#c70271
RGBrgb(199 2 113)
HSLhsl(326.19 98.01% 39.41%)
OKLCHoklch(0.54 0.22 356.82)
CMYKcmyk(0% 98.99% 43.22% 21.96%)
Android#ffc70271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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