Skip to content
Vectorlight.net

#d4287c

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

HEX
#d4287c
RGB
212, 40, 124
HSL
330.7°, 68.25%, 49.41%
OKLCH
0.58 0.21 357.26
Names
—
Lists

Codes

FormatValue
HEX#d4287c
RGBrgb(212 40 124)
HSLhsl(330.7 68.25% 49.41%)
OKLCHoklch(0.58 0.21 357.26)
CMYKcmyk(0% 81.13% 41.51% 16.86%)
Android#ffd4287c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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