Skip to content
Vectorlight.net

#d81998

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

HEX
#d81998
RGB
216, 25, 152
HSL
320.1°, 79.25%, 47.25%
OKLCH
0.59 0.24 347.22
Names
—
Lists

Codes

FormatValue
HEX#d81998
RGBrgb(216 25 152)
HSLhsl(320.1 79.25% 47.25%)
OKLCHoklch(0.59 0.24 347.22)
CMYKcmyk(0% 88.43% 29.63% 15.29%)
Android#ffd81998

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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