Skip to content
Vectorlight.net

#d8418b

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

HEX
#d8418b
RGB
216, 65, 139
HSL
330.6°, 65.94%, 55.1%
OKLCH
0.61 0.2 354.56
Names
—
Lists

Codes

FormatValue
HEX#d8418b
RGBrgb(216 65 139)
HSLhsl(330.6 65.94% 55.1%)
OKLCHoklch(0.61 0.2 354.56)
CMYKcmyk(0% 69.91% 35.65% 15.29%)
Android#ffd8418b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.15:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.04:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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