Skip to content
Vectorlight.net

#d71c2e

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

HEX
#d71c2e
RGB
215, 28, 46
HSL
354.22°, 76.95%, 47.65%
OKLCH
0.56 0.22 24.21
Names
—
Lists

Codes

FormatValue
HEX#d71c2e
RGBrgb(215 28 46)
HSLhsl(354.22 76.95% 47.65%)
OKLCHoklch(0.56 0.22 24.21)
CMYKcmyk(0% 86.98% 78.6% 15.69%)
Android#ffd71c2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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