Skip to content
Vectorlight.net

#d81d2d

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

HEX
#d81d2d
RGB
216, 29, 45
HSL
354.87°, 76.33%, 48.04%
OKLCH
0.57 0.22 24.6
Names
—
Lists

Codes

FormatValue
HEX#d81d2d
RGBrgb(216 29 45)
HSLhsl(354.87 76.33% 48.04%)
OKLCHoklch(0.57 0.22 24.6)
CMYKcmyk(0% 86.57% 79.17% 15.29%)
Android#ffd81d2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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