Skip to content
Vectorlight.net

#d52dcf

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

HEX
#d52dcf
RGB
213, 45, 207
HSL
302.14°, 66.67%, 50.59%
OKLCH
0.62 0.26 329.77
Names
—
Lists

Codes

FormatValue
HEX#d52dcf
RGBrgb(213 45 207)
HSLhsl(302.14 66.67% 50.59%)
OKLCHoklch(0.62 0.26 329.77)
CMYKcmyk(0% 78.87% 2.82% 16.47%)
Android#ffd52dcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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