Skip to content
Vectorlight.net

#de171e

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

HEX
#de171e
RGB
222, 23, 30
HSL
357.89°, 81.22%, 48.04%
OKLCH
0.57 0.22 27.3
Names
—
Lists

Codes

FormatValue
HEX#de171e
RGBrgb(222 23 30)
HSLhsl(357.89 81.22% 48.04%)
OKLCHoklch(0.57 0.22 27.3)
CMYKcmyk(0% 89.64% 86.49% 12.94%)
Android#ffde171e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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