Skip to content
Vectorlight.net

#d3166c

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

HEX
#d3166c
RGB
211, 22, 108
HSL
332.7°, 81.12%, 45.69%
OKLCH
0.57 0.22 2.05
Names
—
Lists

Codes

FormatValue
HEX#d3166c
RGBrgb(211 22 108)
HSLhsl(332.7 81.12% 45.69%)
OKLCHoklch(0.57 0.22 2.05)
CMYKcmyk(0% 89.57% 48.82% 17.25%)
Android#ffd3166c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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