Skip to content
Vectorlight.net

#d581cf

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

HEX
#d581cf
RGB
213, 129, 207
HSL
304.29°, 50%, 67.06%
OKLCH
0.72 0.14 329.52
Names
—
Lists

Codes

FormatValue
HEX#d581cf
RGBrgb(213 129 207)
HSLhsl(304.29 50% 67.06%)
OKLCHoklch(0.72 0.14 329.52)
CMYKcmyk(0% 39.44% 2.82% 16.47%)
Android#ffd581cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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