Skip to content
Vectorlight.net

#dc301c

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

HEX
#dc301c
RGB
220, 48, 28
HSL
6.25°, 77.42%, 48.63%
OKLCH
0.58 0.21 30.62
Names
—
Lists

Codes

FormatValue
HEX#dc301c
RGBrgb(220 48 28)
HSLhsl(6.25 77.42% 48.63%)
OKLCHoklch(0.58 0.21 30.62)
CMYKcmyk(0% 78.18% 87.27% 13.73%)
Android#ffdc301c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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