Skip to content
Vectorlight.net

#d781cd

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

HEX
#d781cd
RGB
215, 129, 205
HSL
306.98°, 51.81%, 67.45%
OKLCH
0.72 0.14 331.25
Names
—
Lists

Codes

FormatValue
HEX#d781cd
RGBrgb(215 129 205)
HSLhsl(306.98 51.81% 67.45%)
OKLCHoklch(0.72 0.14 331.25)
CMYKcmyk(0% 40% 4.65% 15.69%)
Android#ffd781cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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