Skip to content
Vectorlight.net

#d9181f

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

HEX
#d9181f
RGB
217, 24, 31
HSL
357.82°, 80.08%, 47.25%
OKLCH
0.56 0.22 27.11
Names
—
Lists

Codes

FormatValue
HEX#d9181f
RGBrgb(217 24 31)
HSLhsl(357.82 80.08% 47.25%)
OKLCHoklch(0.56 0.22 27.11)
CMYKcmyk(0% 88.94% 85.71% 14.9%)
Android#ffd9181f

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

Recolor an SVG with this color

CSS

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