Skip to content
Vectorlight.net

#d54d8a

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

HEX
#d54d8a
RGB
213, 77, 138
HSL
333.09°, 61.82%, 56.86%
OKLCH
0.62 0.18 355.9
Names
—
Lists

Codes

FormatValue
HEX#d54d8a
RGBrgb(213 77 138)
HSLhsl(333.09 61.82% 56.86%)
OKLCHoklch(0.62 0.18 355.9)
CMYKcmyk(0% 63.85% 35.21% 16.47%)
Android#ffd54d8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.99:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.25:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#d54d8a"
Gradient stop
<stop stop-color="#d54d8a"/>
CSS variable + fill
:root { --c: #d54d8a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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