Skip to content
Vectorlight.net

#d8247b

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

HEX
#d8247b
RGB
216, 36, 123
HSL
331°, 71.43%, 49.41%
OKLCH
0.59 0.22 358.21
Names
—
Lists

Codes

FormatValue
HEX#d8247b
RGBrgb(216 36 123)
HSLhsl(331 71.43% 49.41%)
OKLCHoklch(0.59 0.22 358.21)
CMYKcmyk(0% 83.33% 43.06% 15.29%)
Android#ffd8247b

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

Recolor an SVG with this color

CSS

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