Skip to content
Vectorlight.net

#db001f

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

HEX
#db001f
RGB
219, 0, 31
HSL
351.51°, 100%, 42.94%
OKLCH
0.56 0.23 25.85
Names
—
Lists

Codes

FormatValue
HEX#db001f
RGBrgb(219 0 31)
HSLhsl(351.51 100% 42.94%)
OKLCHoklch(0.56 0.23 25.85)
CMYKcmyk(0% 100% 85.84% 14.12%)
Android#ffdb001f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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