Skip to content
Vectorlight.net

#d71871

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

HEX
#d71871
RGB
215, 24, 113
HSL
332.04°, 79.92%, 46.86%
OKLCH
0.58 0.22 1.06
Names
—
Lists

Codes

FormatValue
HEX#d71871
RGBrgb(215 24 113)
HSLhsl(332.04 79.92% 46.86%)
OKLCHoklch(0.58 0.22 1.06)
CMYKcmyk(0% 88.84% 47.44% 15.69%)
Android#ffd71871

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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