Skip to content
Vectorlight.net

#d9287c

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

HEX
#d9287c
RGB
217, 40, 124
HSL
331.53°, 69.96%, 50.39%
OKLCH
0.59 0.22 358.33
Names
—
Lists

Codes

FormatValue
HEX#d9287c
RGBrgb(217 40 124)
HSLhsl(331.53 69.96% 50.39%)
OKLCHoklch(0.59 0.22 358.33)
CMYKcmyk(0% 81.57% 42.86% 14.9%)
Android#ffd9287c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.62: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="#d9287c"
Gradient stop
<stop stop-color="#d9287c"/>
CSS variable + fill
:root { --c: #d9287c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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