Skip to content
Vectorlight.net

#d504ad

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

HEX
#d504ad
RGB
213, 4, 173
HSL
311.48°, 96.31%, 42.55%
OKLCH
0.59 0.26 339.46
Names
—
Lists

Codes

FormatValue
HEX#d504ad
RGBrgb(213 4 173)
HSLhsl(311.48 96.31% 42.55%)
OKLCHoklch(0.59 0.26 339.46)
CMYKcmyk(0% 98.12% 18.78% 16.47%)
Android#ffd504ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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