Skip to content
Vectorlight.net

#d71a38

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

HEX
#d71a38
RGB
215, 26, 56
HSL
350.48°, 78.42%, 47.25%
OKLCH
0.56 0.22 21.33
Names
—
Lists

Codes

FormatValue
HEX#d71a38
RGBrgb(215 26 56)
HSLhsl(350.48 78.42% 47.25%)
OKLCHoklch(0.56 0.22 21.33)
CMYKcmyk(0% 87.91% 73.95% 15.69%)
Android#ffd71a38

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="#d71a38"
Gradient stop
<stop stop-color="#d71a38"/>
CSS variable + fill
:root { --c: #d71a38; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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