Skip to content
Vectorlight.net

#d72aca

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

HEX
#d72aca
RGB
215, 42, 202
HSL
304.51°, 68.38%, 50.39%
OKLCH
0.62 0.26 331.7
Names
—
Lists

Codes

FormatValue
HEX#d72aca
RGBrgb(215 42 202)
HSLhsl(304.51 68.38% 50.39%)
OKLCHoklch(0.62 0.26 331.7)
CMYKcmyk(0% 80.47% 6.05% 15.69%)
Android#ffd72aca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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