Skip to content
Vectorlight.net

#d4166a

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

HEX
#d4166a
RGB
212, 22, 106
HSL
333.47°, 81.2%, 45.88%
OKLCH
0.57 0.22 3.02
Names
—
Lists

Codes

FormatValue
HEX#d4166a
RGBrgb(212 22 106)
HSLhsl(333.47 81.2% 45.88%)
OKLCHoklch(0.57 0.22 3.02)
CMYKcmyk(0% 89.62% 50% 16.86%)
Android#ffd4166a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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