Skip to content
Vectorlight.net

#d1040e

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

HEX
#d1040e
RGB
209, 4, 14
HSL
357.07°, 96.24%, 41.76%
OKLCH
0.54 0.22 28.19
Names
—
Lists

Codes

FormatValue
HEX#d1040e
RGBrgb(209 4 14)
HSLhsl(357.07 96.24% 41.76%)
OKLCHoklch(0.54 0.22 28.19)
CMYKcmyk(0% 98.09% 93.3% 18.04%)
Android#ffd1040e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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