Skip to content
Vectorlight.net

#d31dcf

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

HEX
#d31dcf
RGB
211, 29, 207
HSL
301.32°, 75.83%, 47.06%
OKLCH
0.61 0.27 329.31
Names
—
Lists

Codes

FormatValue
HEX#d31dcf
RGBrgb(211 29 207)
HSLhsl(301.32 75.83% 47.06%)
OKLCHoklch(0.61 0.27 329.31)
CMYKcmyk(0% 86.26% 1.9% 17.25%)
Android#ffd31dcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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