Skip to content
Vectorlight.net

#d31fbe

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

HEX
#d31fbe
RGB
211, 31, 190
HSL
307°, 74.38%, 47.45%
OKLCH
0.6 0.25 334.05
Names
—
Lists

Codes

FormatValue
HEX#d31fbe
RGBrgb(211 31 190)
HSLhsl(307 74.38% 47.45%)
OKLCHoklch(0.6 0.25 334.05)
CMYKcmyk(0% 85.31% 9.95% 17.25%)
Android#ffd31fbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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