Skip to content
Vectorlight.net

#d42b2c

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

HEX
#d42b2c
RGB
212, 43, 44
HSL
359.64°, 66.27%, 50%
OKLCH
0.57 0.2 26.53
Names
—
Lists

Codes

FormatValue
HEX#d42b2c
RGBrgb(212 43 44)
HSLhsl(359.64 66.27% 50%)
OKLCHoklch(0.57 0.2 26.53)
CMYKcmyk(0% 79.72% 79.25% 16.86%)
Android#ffd42b2c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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