Skip to content
Vectorlight.net

#dc1f2c

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

HEX
#dc1f2c
RGB
220, 31, 44
HSL
355.87°, 75.3%, 49.22%
OKLCH
0.57 0.22 25.21
Names
—
Lists

Codes

FormatValue
HEX#dc1f2c
RGBrgb(220 31 44)
HSLhsl(355.87 75.3% 49.22%)
OKLCHoklch(0.57 0.22 25.21)
CMYKcmyk(0% 85.91% 80% 13.73%)
Android#ffdc1f2c

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

Recolor an SVG with this color

CSS

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