Skip to content
Vectorlight.net

#db242f

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

HEX
#db242f
RGB
219, 36, 47
HSL
356.39°, 71.76%, 50%
OKLCH
0.57 0.21 25.02
Names
—
Lists

Codes

FormatValue
HEX#db242f
RGBrgb(219 36 47)
HSLhsl(356.39 71.76% 50%)
OKLCHoklch(0.57 0.21 25.02)
CMYKcmyk(0% 83.56% 78.54% 14.12%)
Android#ffdb242f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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