Skip to content
Vectorlight.net

#db0f31

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

HEX
#db0f31
RGB
219, 15, 49
HSL
350°, 87.18%, 45.88%
OKLCH
0.57 0.22 22.69
Names
—
Lists

Codes

FormatValue
HEX#db0f31
RGBrgb(219 15 49)
HSLhsl(350 87.18% 45.88%)
OKLCHoklch(0.57 0.22 22.69)
CMYKcmyk(0% 93.15% 77.63% 14.12%)
Android#ffdb0f31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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