Skip to content
Vectorlight.net

#d41bad

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

HEX
#d41bad
RGB
212, 27, 173
HSL
312.65°, 77.41%, 46.86%
OKLCH
0.6 0.25 339.4
Names
—
Lists

Codes

FormatValue
HEX#d41bad
RGBrgb(212 27 173)
HSLhsl(312.65 77.41% 46.86%)
OKLCHoklch(0.6 0.25 339.4)
CMYKcmyk(0% 87.26% 18.4% 16.86%)
Android#ffd41bad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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