Skip to content
Vectorlight.net

#db271d

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

HEX
#db271d
RGB
219, 39, 29
HSL
3.16°, 76.61%, 48.63%
OKLCH
0.58 0.21 29.11
Names
—
Lists

Codes

FormatValue
HEX#db271d
RGBrgb(219 39 29)
HSLhsl(3.16 76.61% 48.63%)
OKLCHoklch(0.58 0.21 29.11)
CMYKcmyk(0% 82.19% 86.76% 14.12%)
Android#ffdb271d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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