Skip to content
Vectorlight.net

#d71226

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

HEX
#d71226
RGB
215, 18, 38
HSL
353.91°, 84.55%, 45.69%
OKLCH
0.56 0.22 25.24
Names
—
Lists

Codes

FormatValue
HEX#d71226
RGBrgb(215 18 38)
HSLhsl(353.91 84.55% 45.69%)
OKLCHoklch(0.56 0.22 25.24)
CMYKcmyk(0% 91.63% 82.33% 15.69%)
Android#ffd71226

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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