Skip to content
Vectorlight.net

#d9166a

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

HEX
#d9166a
RGB
217, 22, 106
HSL
334.15°, 81.59%, 46.86%
OKLCH
0.58 0.22 3.97
Names
—
Lists

Codes

FormatValue
HEX#d9166a
RGBrgb(217 22 106)
HSLhsl(334.15 81.59% 46.86%)
OKLCHoklch(0.58 0.22 3.97)
CMYKcmyk(0% 89.86% 51.15% 14.9%)
Android#ffd9166a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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