Skip to content
Vectorlight.net

#d9287d

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

HEX
#d9287d
RGB
217, 40, 125
HSL
331.19°, 69.96%, 50.39%
OKLCH
0.59 0.22 357.95
Names
—
Lists

Codes

FormatValue
HEX#d9287d
RGBrgb(217 40 125)
HSLhsl(331.19 69.96% 50.39%)
OKLCHoklch(0.59 0.22 357.95)
CMYKcmyk(0% 81.57% 42.4% 14.9%)
Android#ffd9287d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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