Skip to content
Vectorlight.net

#d81a4e

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

HEX
#d81a4e
RGB
216, 26, 78
HSL
343.58°, 78.51%, 47.45%
OKLCH
0.57 0.22 14.33
Names
—
Lists

Codes

FormatValue
HEX#d81a4e
RGBrgb(216 26 78)
HSLhsl(343.58 78.51% 47.45%)
OKLCHoklch(0.57 0.22 14.33)
CMYKcmyk(0% 87.96% 63.89% 15.29%)
Android#ffd81a4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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