Skip to content
Vectorlight.net

#d71aa3

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

HEX
#d71aa3
RGB
215, 26, 163
HSL
316.51°, 78.42%, 47.25%
OKLCH
0.6 0.24 343.34
Names
—
Lists

Codes

FormatValue
HEX#d71aa3
RGBrgb(215 26 163)
HSLhsl(316.51 78.42% 47.25%)
OKLCHoklch(0.6 0.24 343.34)
CMYKcmyk(0% 87.91% 24.19% 15.69%)
Android#ffd71aa3

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#d71aa3"
Gradient stop
<stop stop-color="#d71aa3"/>
CSS variable + fill
:root { --c: #d71aa3; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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