Skip to content
Vectorlight.net

#dc342b

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

HEX
#dc342b
RGB
220, 52, 43
HSL
3.05°, 71.66%, 51.57%
OKLCH
0.59 0.21 28.43
Names
—
Lists

Codes

FormatValue
HEX#dc342b
RGBrgb(220 52 43)
HSLhsl(3.05 71.66% 51.57%)
OKLCHoklch(0.59 0.21 28.43)
CMYKcmyk(0% 76.36% 80.45% 13.73%)
Android#ffdc342b

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

Recolor an SVG with this color

CSS

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