Skip to content
Vectorlight.net

#d8317d

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

HEX
#d8317d
RGB
216, 49, 125
HSL
332.69°, 68.16%, 51.96%
OKLCH
0.6 0.21 358.52
Names
—
Lists

Codes

FormatValue
HEX#d8317d
RGBrgb(216 49 125)
HSLhsl(332.69 68.16% 51.96%)
OKLCHoklch(0.6 0.21 358.52)
CMYKcmyk(0% 77.31% 42.13% 15.29%)
Android#ffd8317d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#d8317d"
Gradient stop
<stop stop-color="#d8317d"/>
CSS variable + fill
:root { --c: #d8317d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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