Skip to content
Vectorlight.net

#dc2d1c

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

HEX
#dc2d1c
RGB
220, 45, 28
HSL
5.31°, 77.42%, 48.63%
OKLCH
0.58 0.21 30.14
Names
—
Lists

Codes

FormatValue
HEX#dc2d1c
RGBrgb(220 45 28)
HSLhsl(5.31 77.42% 48.63%)
OKLCHoklch(0.58 0.21 30.14)
CMYKcmyk(0% 79.55% 87.27% 13.73%)
Android#ffdc2d1c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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