Skip to content
Vectorlight.net

#d503aa

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

HEX
#d503aa
RGB
213, 3, 170
HSL
312.29°, 97.22%, 42.35%
OKLCH
0.59 0.25 340.37
Names
—
Lists

Codes

FormatValue
HEX#d503aa
RGBrgb(213 3 170)
HSLhsl(312.29 97.22% 42.35%)
OKLCHoklch(0.59 0.25 340.37)
CMYKcmyk(0% 98.59% 20.19% 16.47%)
Android#ffd503aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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