Skip to content
Vectorlight.net

#d52bd8

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

HEX
#d52bd8
RGB
213, 43, 216
HSL
298.96°, 68.92%, 50.78%
OKLCH
0.63 0.27 327.38
Names
—
Lists

Codes

FormatValue
HEX#d52bd8
RGBrgb(213 43 216)
HSLhsl(298.96 68.92% 50.78%)
OKLCHoklch(0.63 0.27 327.38)
CMYKcmyk(1.39% 80.09% 0% 15.29%)
Android#ffd52bd8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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