Skip to content
Vectorlight.net

#db042c

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

HEX
#db042c
RGB
219, 4, 44
HSL
348.84°, 96.41%, 43.73%
OKLCH
0.56 0.23 23.4
Names
—
Lists

Codes

FormatValue
HEX#db042c
RGBrgb(219 4 44)
HSLhsl(348.84 96.41% 43.73%)
OKLCHoklch(0.56 0.23 23.4)
CMYKcmyk(0% 98.17% 79.91% 14.12%)
Android#ffdb042c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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