Skip to content
Vectorlight.net

#d82c8a

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

HEX
#d82c8a
RGB
216, 44, 138
HSL
327.21°, 68.8%, 50.98%
OKLCH
0.6 0.22 353.07
Names
—
Lists

Codes

FormatValue
HEX#d82c8a
RGBrgb(216 44 138)
HSLhsl(327.21 68.8% 50.98%)
OKLCHoklch(0.6 0.22 353.07)
CMYKcmyk(0% 79.63% 36.11% 15.29%)
Android#ffd82c8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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