Skip to content
Vectorlight.net

#d8397f

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

HEX
#d8397f
RGB
216, 57, 127
HSL
333.58°, 67.09%, 53.53%
OKLCH
0.6 0.2 358.57
Names
—
Lists

Codes

FormatValue
HEX#d8397f
RGBrgb(216 57 127)
HSLhsl(333.58 67.09% 53.53%)
OKLCHoklch(0.6 0.2 358.57)
CMYKcmyk(0% 73.61% 41.2% 15.29%)
Android#ffd8397f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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