Skip to content
Vectorlight.net

#d81f77

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

HEX
#d81f77
RGB
216, 31, 119
HSL
331.46°, 74.9%, 48.43%
OKLCH
0.58 0.22 359.4
Names
—
Lists

Codes

FormatValue
HEX#d81f77
RGBrgb(216 31 119)
HSLhsl(331.46 74.9% 48.43%)
OKLCHoklch(0.58 0.22 359.4)
CMYKcmyk(0% 85.65% 44.91% 15.29%)
Android#ffd81f77

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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