Skip to content
Vectorlight.net

#d317bc

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

HEX
#d317bc
RGB
211, 23, 188
HSL
307.34°, 80.34%, 45.88%
OKLCH
0.6 0.26 334.6
Names
—
Lists

Codes

FormatValue
HEX#d317bc
RGBrgb(211 23 188)
HSLhsl(307.34 80.34% 45.88%)
OKLCHoklch(0.6 0.26 334.6)
CMYKcmyk(0% 89.1% 10.9% 17.25%)
Android#ffd317bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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