Skip to content
Vectorlight.net

#d31bae

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

HEX
#d31bae
RGB
211, 27, 174
HSL
312.07°, 77.31%, 46.67%
OKLCH
0.59 0.25 338.83
Names
—
Lists

Codes

FormatValue
HEX#d31bae
RGBrgb(211 27 174)
HSLhsl(312.07 77.31% 46.67%)
OKLCHoklch(0.59 0.25 338.83)
CMYKcmyk(0% 87.2% 17.54% 17.25%)
Android#ffd31bae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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