Skip to content
Vectorlight.net

#dc271e

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

HEX
#dc271e
RGB
220, 39, 30
HSL
2.84°, 76%, 49.02%
OKLCH
0.58 0.22 28.94
Names
—
Lists

Codes

FormatValue
HEX#dc271e
RGBrgb(220 39 30)
HSLhsl(2.84 76% 49.02%)
OKLCHoklch(0.58 0.22 28.94)
CMYKcmyk(0% 82.27% 86.36% 13.73%)
Android#ffdc271e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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