Skip to content
Vectorlight.net

#d41728

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

HEX
#d41728
RGB
212, 23, 40
HSL
354.6°, 80.43%, 46.08%
OKLCH
0.55 0.22 25.06
Names
—
Lists

Codes

FormatValue
HEX#d41728
RGBrgb(212 23 40)
HSLhsl(354.6 80.43% 46.08%)
OKLCHoklch(0.55 0.22 25.06)
CMYKcmyk(0% 89.15% 81.13% 16.86%)
Android#ffd41728

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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