Skip to content
Vectorlight.net

#df181b

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

HEX
#df181b
RGB
223, 24, 27
HSL
359.1°, 80.57%, 48.43%
OKLCH
0.57 0.23 27.86
Names
—
Lists

Codes

FormatValue
HEX#df181b
RGBrgb(223 24 27)
HSLhsl(359.1 80.57% 48.43%)
OKLCHoklch(0.57 0.23 27.86)
CMYKcmyk(0% 89.24% 87.89% 12.55%)
Android#ffdf181b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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