Skip to content
Vectorlight.net

#d71e7a

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

HEX
#d71e7a
RGB
215, 30, 122
HSL
330.16°, 75.51%, 48.04%
OKLCH
0.58 0.22 358
Names
—
Lists

Codes

FormatValue
HEX#d71e7a
RGBrgb(215 30 122)
HSLhsl(330.16 75.51% 48.04%)
OKLCHoklch(0.58 0.22 358)
CMYKcmyk(0% 86.05% 43.26% 15.69%)
Android#ffd71e7a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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