Skip to content
Vectorlight.net

#d8277d

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

HEX
#d8277d
RGB
216, 39, 125
HSL
330.85°, 69.41%, 50%
OKLCH
0.59 0.22 357.66
Names
—
Lists

Codes

FormatValue
HEX#d8277d
RGBrgb(216 39 125)
HSLhsl(330.85 69.41% 50%)
OKLCHoklch(0.59 0.22 357.66)
CMYKcmyk(0% 81.94% 42.13% 15.29%)
Android#ffd8277d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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