Skip to content
Vectorlight.net

#d71aa7

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

HEX
#d71aa7
RGB
215, 26, 167
HSL
315.24°, 78.42%, 47.25%
OKLCH
0.6 0.25 342.05
Names
—
Lists

Codes

FormatValue
HEX#d71aa7
RGBrgb(215 26 167)
HSLhsl(315.24 78.42% 47.25%)
OKLCHoklch(0.6 0.25 342.05)
CMYKcmyk(0% 87.91% 22.33% 15.69%)
Android#ffd71aa7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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