Skip to content
Vectorlight.net

#d8167d

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

HEX
#d8167d
RGB
216, 22, 125
HSL
328.14°, 81.51%, 46.67%
OKLCH
0.58 0.23 356.7
Names
—
Lists

Codes

FormatValue
HEX#d8167d
RGBrgb(216 22 125)
HSLhsl(328.14 81.51% 46.67%)
OKLCHoklch(0.58 0.23 356.7)
CMYKcmyk(0% 89.81% 42.13% 15.29%)
Android#ffd8167d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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