Skip to content
Vectorlight.net

#d505aa

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

HEX
#d505aa
RGB
213, 5, 170
HSL
312.4°, 95.41%, 42.75%
OKLCH
0.59 0.25 340.39
Names
—
Lists

Codes

FormatValue
HEX#d505aa
RGBrgb(213 5 170)
HSLhsl(312.4 95.41% 42.75%)
OKLCHoklch(0.59 0.25 340.39)
CMYKcmyk(0% 97.65% 20.19% 16.47%)
Android#ffd505aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.43:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#d505aa"
Gradient stop
<stop stop-color="#d505aa"/>
CSS variable + fill
:root { --c: #d505aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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