Skip to content
Vectorlight.net

#d8097a

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

HEX
#d8097a
RGB
216, 9, 122
HSL
327.25°, 92%, 44.12%
OKLCH
0.58 0.23 357.39
Names
—
Lists

Codes

FormatValue
HEX#d8097a
RGBrgb(216 9 122)
HSLhsl(327.25 92% 44.12%)
OKLCHoklch(0.58 0.23 357.39)
CMYKcmyk(0% 95.83% 43.52% 15.29%)
Android#ffd8097a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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