Skip to content
Vectorlight.net

#db0028

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

HEX
#db0028
RGB
219, 0, 40
HSL
349.04°, 100%, 42.94%
OKLCH
0.56 0.23 24.12
Names
—
Lists

Codes

FormatValue
HEX#db0028
RGBrgb(219 0 40)
HSLhsl(349.04 100% 42.94%)
OKLCHoklch(0.56 0.23 24.12)
CMYKcmyk(0% 100% 81.74% 14.12%)
Android#ffdb0028

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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