Skip to content
Vectorlight.net

#d5008a

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

HEX
#d5008a
RGB
213, 0, 138
HSL
321.13°, 100%, 41.76%
OKLCH
0.57 0.24 350.83
Names
—
Lists

Codes

FormatValue
HEX#d5008a
RGBrgb(213 0 138)
HSLhsl(321.13 100% 41.76%)
OKLCHoklch(0.57 0.24 350.83)
CMYKcmyk(0% 100% 35.21% 16.47%)
Android#ffd5008a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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