Skip to content
Vectorlight.net

#d52a91

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

HEX
#d52a91
RGB
213, 42, 145
HSL
323.86°, 67.06%, 50%
OKLCH
0.59 0.22 349.62
Names
—
Lists

Codes

FormatValue
HEX#d52a91
RGBrgb(213 42 145)
HSLhsl(323.86 67.06% 50%)
OKLCHoklch(0.59 0.22 349.62)
CMYKcmyk(0% 80.28% 31.92% 16.47%)
Android#ffd52a91

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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