Skip to content
Vectorlight.net

#dc2021

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

HEX
#dc2021
RGB
220, 32, 33
HSL
359.68°, 74.6%, 49.41%
OKLCH
0.57 0.22 27.58
Names
—
Lists

Codes

FormatValue
HEX#dc2021
RGBrgb(220 32 33)
HSLhsl(359.68 74.6% 49.41%)
OKLCHoklch(0.57 0.22 27.58)
CMYKcmyk(0% 85.45% 85% 13.73%)
Android#ffdc2021

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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