Skip to content
Vectorlight.net

#d52892

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

HEX
#d52892
RGB
213, 40, 146
HSL
323.24°, 68.38%, 49.61%
OKLCH
0.59 0.22 349.15
Names
—
Lists

Codes

FormatValue
HEX#d52892
RGBrgb(213 40 146)
HSLhsl(323.24 68.38% 49.61%)
OKLCHoklch(0.59 0.22 349.15)
CMYKcmyk(0% 81.22% 31.46% 16.47%)
Android#ffd52892

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.61: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="#d52892"
Gradient stop
<stop stop-color="#d52892"/>
CSS variable + fill
:root { --c: #d52892; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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