Skip to content
Vectorlight.net

#c71831

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

HEX
#c71831
RGB
199, 24, 49
HSL
351.43°, 78.48%, 43.73%
OKLCH
0.53 0.2 22.05
Names
—
Lists

Codes

FormatValue
HEX#c71831
RGBrgb(199 24 49)
HSLhsl(351.43 78.48% 43.73%)
OKLCHoklch(0.53 0.2 22.05)
CMYKcmyk(0% 87.94% 75.38% 21.96%)
Android#ffc71831

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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