Skip to content
Vectorlight.net

#d52dda

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

HEX
#d52dda
RGB
213, 45, 218
HSL
298.27°, 70.04%, 51.57%
OKLCH
0.63 0.26 326.84
Names
—
Lists

Codes

FormatValue
HEX#d52dda
RGBrgb(213 45 218)
HSLhsl(298.27 70.04% 51.57%)
OKLCHoklch(0.63 0.26 326.84)
CMYKcmyk(2.29% 79.36% 0% 14.51%)
Android#ffd52dda

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.21:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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