Skip to content
Vectorlight.net

#d313ab

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

HEX
#d313ab
RGB
211, 19, 171
HSL
312.5°, 83.48%, 45.1%
OKLCH
0.59 0.25 339.68
Names
—
Lists

Codes

FormatValue
HEX#d313ab
RGBrgb(211 19 171)
HSLhsl(312.5 83.48% 45.1%)
OKLCHoklch(0.59 0.25 339.68)
CMYKcmyk(0% 91% 18.96% 17.25%)
Android#ffd313ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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