Skip to content
Vectorlight.net

#d31ebd

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

HEX
#d31ebd
RGB
211, 30, 189
HSL
307.29°, 75.1%, 47.25%
OKLCH
0.6 0.25 334.33
Names
—
Lists

Codes

FormatValue
HEX#d31ebd
RGBrgb(211 30 189)
HSLhsl(307.29 75.1% 47.25%)
OKLCHoklch(0.6 0.25 334.33)
CMYKcmyk(0% 85.78% 10.43% 17.25%)
Android#ffd31ebd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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