Skip to content
Vectorlight.net

#d41aaf

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

HEX
#d41aaf
RGB
212, 26, 175
HSL
311.94°, 78.15%, 46.67%
OKLCH
0.6 0.25 338.77
Names
—
Lists

Codes

FormatValue
HEX#d41aaf
RGBrgb(212 26 175)
HSLhsl(311.94 78.15% 46.67%)
OKLCHoklch(0.6 0.25 338.77)
CMYKcmyk(0% 87.74% 17.45% 16.86%)
Android#ffd41aaf

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

Recolor an SVG with this color

CSS

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