Skip to content
Vectorlight.net

#d31dae

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

HEX
#d31dae
RGB
211, 29, 174
HSL
312.2°, 75.83%, 47.06%
OKLCH
0.6 0.25 338.86
Names
—
Lists

Codes

FormatValue
HEX#d31dae
RGBrgb(211 29 174)
HSLhsl(312.2 75.83% 47.06%)
OKLCHoklch(0.6 0.25 338.86)
CMYKcmyk(0% 86.26% 17.54% 17.25%)
Android#ffd31dae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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