Skip to content
Vectorlight.net

#d52891

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

HEX
#d52891
RGB
213, 40, 145
HSL
323.58°, 68.38%, 49.61%
OKLCH
0.59 0.22 349.52
Names
—
Lists

Codes

FormatValue
HEX#d52891
RGBrgb(213 40 145)
HSLhsl(323.58 68.38% 49.61%)
OKLCHoklch(0.59 0.22 349.52)
CMYKcmyk(0% 81.22% 31.92% 16.47%)
Android#ffd52891

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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