Skip to content
Vectorlight.net

#dc221e

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

HEX
#dc221e
RGB
220, 34, 30
HSL
1.26°, 76%, 49.02%
OKLCH
0.57 0.22 28.32
Names
—
Lists

Codes

FormatValue
HEX#dc221e
RGBrgb(220 34 30)
HSLhsl(1.26 76% 49.02%)
OKLCHoklch(0.57 0.22 28.32)
CMYKcmyk(0% 84.55% 86.36% 13.73%)
Android#ffdc221e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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