Skip to content
Vectorlight.net

#d8097f

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

HEX
#d8097f
RGB
216, 9, 127
HSL
325.8°, 92%, 44.12%
OKLCH
0.58 0.23 355.58
Names
—
Lists

Codes

FormatValue
HEX#d8097f
RGBrgb(216 9 127)
HSLhsl(325.8 92% 44.12%)
OKLCHoklch(0.58 0.23 355.58)
CMYKcmyk(0% 95.83% 41.2% 15.29%)
Android#ffd8097f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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