Skip to content
Vectorlight.net

#d5287c

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

HEX
#d5287c
RGB
213, 40, 124
HSL
330.87°, 68.38%, 49.61%
OKLCH
0.58 0.21 357.47
Names
—
Lists

Codes

FormatValue
HEX#d5287c
RGBrgb(213 40 124)
HSLhsl(330.87 68.38% 49.61%)
OKLCHoklch(0.58 0.21 357.47)
CMYKcmyk(0% 81.22% 41.78% 16.47%)
Android#ffd5287c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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