Skip to content
Vectorlight.net

#d0317d

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

HEX
#d0317d
RGB
208, 49, 125
HSL
331.32°, 62.85%, 50.39%
OKLCH
0.58 0.2 356.75
Names
—
Lists

Codes

FormatValue
HEX#d0317d
RGBrgb(208 49 125)
HSLhsl(331.32 62.85% 50.39%)
OKLCHoklch(0.58 0.2 356.75)
CMYKcmyk(0% 76.44% 39.9% 18.43%)
Android#ffd0317d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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