Skip to content
Vectorlight.net

#d71eaa

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

HEX
#d71eaa
RGB
215, 30, 170
HSL
314.59°, 75.51%, 48.04%
OKLCH
0.6 0.25 341.16
Names
—
Lists

Codes

FormatValue
HEX#d71eaa
RGBrgb(215 30 170)
HSLhsl(314.59 75.51% 48.04%)
OKLCHoklch(0.6 0.25 341.16)
CMYKcmyk(0% 86.05% 20.93% 15.69%)
Android#ffd71eaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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