Skip to content
Vectorlight.net

#d8308e

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

HEX
#d8308e
RGB
216, 48, 142
HSL
326.43°, 68.29%, 51.76%
OKLCH
0.6 0.22 351.83
Names
—
Lists

Codes

FormatValue
HEX#d8308e
RGBrgb(216 48 142)
HSLhsl(326.43 68.29% 51.76%)
OKLCHoklch(0.6 0.22 351.83)
CMYKcmyk(0% 77.78% 34.26% 15.29%)
Android#ffd8308e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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