Skip to content
Vectorlight.net

#d31fbf

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

HEX
#d31fbf
RGB
211, 31, 191
HSL
306.67°, 74.38%, 47.45%
OKLCH
0.6 0.26 333.76
Names
—
Lists

Codes

FormatValue
HEX#d31fbf
RGBrgb(211 31 191)
HSLhsl(306.67 74.38% 47.45%)
OKLCHoklch(0.6 0.26 333.76)
CMYKcmyk(0% 85.31% 9.48% 17.25%)
Android#ffd31fbf

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

Recolor an SVG with this color

CSS

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