Skip to content
Vectorlight.net

#db251f

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

HEX
#db251f
RGB
219, 37, 31
HSL
1.91°, 75.2%, 49.02%
OKLCH
0.57 0.22 28.51
Names
—
Lists

Codes

FormatValue
HEX#db251f
RGBrgb(219 37 31)
HSLhsl(1.91 75.2% 49.02%)
OKLCHoklch(0.57 0.22 28.51)
CMYKcmyk(0% 83.11% 85.84% 14.12%)
Android#ffdb251f

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="#db251f"
Gradient stop
<stop stop-color="#db251f"/>
CSS variable + fill
:root { --c: #db251f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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