Skip to content
Vectorlight.net

#d311bc

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

HEX
#d311bc
RGB
211, 17, 188
HSL
307.11°, 85.09%, 44.71%
OKLCH
0.6 0.26 334.58
Names
—
Lists

Codes

FormatValue
HEX#d311bc
RGBrgb(211 17 188)
HSLhsl(307.11 85.09% 44.71%)
OKLCHoklch(0.6 0.26 334.58)
CMYKcmyk(0% 91.94% 10.9% 17.25%)
Android#ffd311bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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