Skip to content
Vectorlight.net

#d31dbf

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

HEX
#d31dbf
RGB
211, 29, 191
HSL
306.59°, 75.83%, 47.06%
OKLCH
0.6 0.26 333.75
Names
—
Lists

Codes

FormatValue
HEX#d31dbf
RGBrgb(211 29 191)
HSLhsl(306.59 75.83% 47.06%)
OKLCHoklch(0.6 0.26 333.75)
CMYKcmyk(0% 86.26% 9.48% 17.25%)
Android#ffd31dbf

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

Recolor an SVG with this color

CSS

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