Skip to content
Vectorlight.net

#da1f0d

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

HEX
#da1f0d
RGB
218, 31, 13
HSL
5.27°, 88.74%, 45.29%
OKLCH
0.57 0.22 30.18
Names
—
Lists

Codes

FormatValue
HEX#da1f0d
RGBrgb(218 31 13)
HSLhsl(5.27 88.74% 45.29%)
OKLCHoklch(0.57 0.22 30.18)
CMYKcmyk(0% 85.78% 94.04% 14.51%)
Android#ffda1f0d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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