Skip to content
Vectorlight.net

#d52aaa

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

HEX
#d52aaa
RGB
213, 42, 170
HSL
315.09°, 67.06%, 50%
OKLCH
0.6 0.24 340.9
Names
—
Lists

Codes

FormatValue
HEX#d52aaa
RGBrgb(213 42 170)
HSLhsl(315.09 67.06% 50%)
OKLCHoklch(0.6 0.24 340.9)
CMYKcmyk(0% 80.28% 20.19% 16.47%)
Android#ffd52aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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