Skip to content
Vectorlight.net

#d71cdb

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

HEX
#d71cdb
RGB
215, 28, 219
HSL
298.74°, 77.33%, 48.43%
OKLCH
0.63 0.28 327.25
Names
—
Lists

Codes

FormatValue
HEX#d71cdb
RGBrgb(215 28 219)
HSLhsl(298.74 77.33% 48.43%)
OKLCHoklch(0.63 0.28 327.25)
CMYKcmyk(1.83% 87.21% 0% 14.12%)
Android#ffd71cdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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