Skip to content
Vectorlight.net

#dc342d

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

HEX
#dc342d
RGB
220, 52, 45
HSL
2.4°, 71.43%, 51.96%
OKLCH
0.59 0.21 27.96
Names
—
Lists

Codes

FormatValue
HEX#dc342d
RGBrgb(220 52 45)
HSLhsl(2.4 71.43% 51.96%)
OKLCHoklch(0.59 0.21 27.96)
CMYKcmyk(0% 76.36% 79.55% 13.73%)
Android#ffdc342d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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