Skip to content
Vectorlight.net

#d31fb3

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

HEX
#d31fb3
RGB
211, 31, 179
HSL
310.67°, 74.38%, 47.45%
OKLCH
0.6 0.25 337.33
Names
—
Lists

Codes

FormatValue
HEX#d31fb3
RGBrgb(211 31 179)
HSLhsl(310.67 74.38% 47.45%)
OKLCHoklch(0.6 0.25 337.33)
CMYKcmyk(0% 85.31% 15.17% 17.25%)
Android#ffd31fb3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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