Skip to content
Vectorlight.net

#db242b

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

HEX
#db242b
RGB
219, 36, 43
HSL
357.7°, 71.76%, 50%
OKLCH
0.57 0.21 25.97
Names
—
Lists

Codes

FormatValue
HEX#db242b
RGBrgb(219 36 43)
HSLhsl(357.7 71.76% 50%)
OKLCHoklch(0.57 0.21 25.97)
CMYKcmyk(0% 83.56% 80.37% 14.12%)
Android#ffdb242b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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