Skip to content
Vectorlight.net

#d504af

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

HEX
#d504af
RGB
213, 4, 175
HSL
310.91°, 96.31%, 42.55%
OKLCH
0.59 0.26 338.86
Names
—
Lists

Codes

FormatValue
HEX#d504af
RGBrgb(213 4 175)
HSLhsl(310.91 96.31% 42.55%)
OKLCHoklch(0.59 0.26 338.86)
CMYKcmyk(0% 98.12% 17.84% 16.47%)
Android#ffd504af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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