Skip to content
Vectorlight.net

#d51f73

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

HEX
#d51f73
RGB
213, 31, 115
HSL
332.31°, 74.59%, 47.84%
OKLCH
0.58 0.22 0.31
Names
—
Lists

Codes

FormatValue
HEX#d51f73
RGBrgb(213 31 115)
HSLhsl(332.31 74.59% 47.84%)
OKLCHoklch(0.58 0.22 0.31)
CMYKcmyk(0% 85.45% 46.01% 16.47%)
Android#ffd51f73

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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