Skip to content
Vectorlight.net

#d51f72

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

HEX
#d51f72
RGB
213, 31, 114
HSL
332.64°, 74.59%, 47.84%
OKLCH
0.58 0.22 0.7
Names
—
Lists

Codes

FormatValue
HEX#d51f72
RGBrgb(213 31 114)
HSLhsl(332.64 74.59% 47.84%)
OKLCHoklch(0.58 0.22 0.7)
CMYKcmyk(0% 85.45% 46.48% 16.47%)
Android#ffd51f72

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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