Skip to content
Vectorlight.net

#d54271

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

HEX
#d54271
RGB
213, 66, 113
HSL
340.82°, 63.64%, 54.71%
OKLCH
0.6 0.19 5.29
Names
—
Lists

Codes

FormatValue
HEX#d54271
RGBrgb(213 66 113)
HSLhsl(340.82 63.64% 54.71%)
OKLCHoklch(0.6 0.19 5.29)
CMYKcmyk(0% 69.01% 46.95% 16.47%)
Android#ffd54271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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