Skip to content
Vectorlight.net

#d5017a

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

HEX
#d5017a
RGB
213, 1, 122
HSL
325.75°, 99.07%, 41.96%
OKLCH
0.57 0.23 356.55
Names
—
Lists

Codes

FormatValue
HEX#d5017a
RGBrgb(213 1 122)
HSLhsl(325.75 99.07% 41.96%)
OKLCHoklch(0.57 0.23 356.55)
CMYKcmyk(0% 99.53% 42.72% 16.47%)
Android#ffd5017a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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