Skip to content
Vectorlight.net

#d72cab

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

HEX
#d72cab
RGB
215, 44, 171
HSL
315.44°, 68.13%, 50.78%
OKLCH
0.61 0.24 341.14
Names
—
Lists

Codes

FormatValue
HEX#d72cab
RGBrgb(215 44 171)
HSLhsl(315.44 68.13% 50.78%)
OKLCHoklch(0.61 0.24 341.14)
CMYKcmyk(0% 79.53% 20.47% 15.69%)
Android#ffd72cab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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