Skip to content
Vectorlight.net

#d0171d

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

HEX
#d0171d
RGB
208, 23, 29
HSL
358.05°, 80.09%, 45.29%
OKLCH
0.55 0.21 27.2
Names
—
Lists

Codes

FormatValue
HEX#d0171d
RGBrgb(208 23 29)
HSLhsl(358.05 80.09% 45.29%)
OKLCHoklch(0.55 0.21 27.2)
CMYKcmyk(0% 88.94% 86.06% 18.43%)
Android#ffd0171d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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