Skip to content
Vectorlight.net

#db1d2a

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

HEX
#db1d2a
RGB
219, 29, 42
HSL
355.89°, 76.61%, 48.63%
OKLCH
0.57 0.22 25.42
Names
—
Lists

Codes

FormatValue
HEX#db1d2a
RGBrgb(219 29 42)
HSLhsl(355.89 76.61% 48.63%)
OKLCHoklch(0.57 0.22 25.42)
CMYKcmyk(0% 86.76% 80.82% 14.12%)
Android#ffdb1d2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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