Skip to content
Vectorlight.net

#d541b7

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

HEX
#d541b7
RGB
213, 65, 183
HSL
312.16°, 63.79%, 54.51%
OKLCH
0.63 0.22 337.17
Names
—
Lists

Codes

FormatValue
HEX#d541b7
RGBrgb(213 65 183)
HSLhsl(312.16 63.79% 54.51%)
OKLCHoklch(0.63 0.22 337.17)
CMYKcmyk(0% 69.48% 14.08% 16.47%)
Android#ffd541b7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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