Skip to content
Vectorlight.net

#d8286f

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

HEX
#d8286f
RGB
216, 40, 111
HSL
335.8°, 69.29%, 50.2%
OKLCH
0.58 0.21 3.18
Names
—
Lists

Codes

FormatValue
HEX#d8286f
RGBrgb(216 40 111)
HSLhsl(335.8 69.29% 50.2%)
OKLCHoklch(0.58 0.21 3.18)
CMYKcmyk(0% 81.48% 48.61% 15.29%)
Android#ffd8286f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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