Skip to content
Vectorlight.net

#d52ecf

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

HEX
#d52ecf
RGB
213, 46, 207
HSL
302.16°, 66.53%, 50.78%
OKLCH
0.62 0.26 329.77
Names
—
Lists

Codes

FormatValue
HEX#d52ecf
RGBrgb(213 46 207)
HSLhsl(302.16 66.53% 50.78%)
OKLCHoklch(0.62 0.26 329.77)
CMYKcmyk(0% 78.4% 2.82% 16.47%)
Android#ffd52ecf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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