Skip to content
Vectorlight.net

#dc311d

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

HEX
#dc311d
RGB
220, 49, 29
HSL
6.28°, 76.71%, 48.82%
OKLCH
0.58 0.21 30.64
Names
—
Lists

Codes

FormatValue
HEX#dc311d
RGBrgb(220 49 29)
HSLhsl(6.28 76.71% 48.82%)
OKLCHoklch(0.58 0.21 30.64)
CMYKcmyk(0% 77.73% 86.82% 13.73%)
Android#ffdc311d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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