Skip to content
Vectorlight.net

#d82e8a

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

HEX
#d82e8a
RGB
216, 46, 138
HSL
327.53°, 68.55%, 51.37%
OKLCH
0.6 0.22 353.21
Names
—
Lists

Codes

FormatValue
HEX#d82e8a
RGBrgb(216 46 138)
HSLhsl(327.53 68.55% 51.37%)
OKLCHoklch(0.6 0.22 353.21)
CMYKcmyk(0% 78.7% 36.11% 15.29%)
Android#ffd82e8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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