Skip to content
Vectorlight.net

#d52faf

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

HEX
#d52faf
RGB
213, 47, 175
HSL
313.73°, 66.4%, 50.98%
OKLCH
0.61 0.23 339.38
Names
—
Lists

Codes

FormatValue
HEX#d52faf
RGBrgb(213 47 175)
HSLhsl(313.73 66.4% 50.98%)
OKLCHoklch(0.61 0.23 339.38)
CMYKcmyk(0% 77.93% 17.84% 16.47%)
Android#ffd52faf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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