Skip to content
Vectorlight.net

#d41a8e

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

HEX
#d41a8e
RGB
212, 26, 142
HSL
322.58°, 78.15%, 46.67%
OKLCH
0.58 0.23 349.77
Names
—
Lists

Codes

FormatValue
HEX#d41a8e
RGBrgb(212 26 142)
HSLhsl(322.58 78.15% 46.67%)
OKLCHoklch(0.58 0.23 349.77)
CMYKcmyk(0% 87.74% 33.02% 16.86%)
Android#ffd41a8e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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