Skip to content
Vectorlight.net

#da172e

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

HEX
#da172e
RGB
218, 23, 46
HSL
352.92°, 80.91%, 47.25%
OKLCH
0.57 0.22 23.91
Names
—
Lists

Codes

FormatValue
HEX#da172e
RGBrgb(218 23 46)
HSLhsl(352.92 80.91% 47.25%)
OKLCHoklch(0.57 0.22 23.91)
CMYKcmyk(0% 89.45% 78.9% 14.51%)
Android#ffda172e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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