Skip to content
Vectorlight.net

#d41a42

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

HEX
#d41a42
RGB
212, 26, 66
HSL
347.1°, 78.15%, 46.67%
OKLCH
0.56 0.21 17.96
Names
—
Lists

Codes

FormatValue
HEX#d41a42
RGBrgb(212 26 66)
HSLhsl(347.1 78.15% 46.67%)
OKLCHoklch(0.56 0.21 17.96)
CMYKcmyk(0% 87.74% 68.87% 16.86%)
Android#ffd41a42

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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