Skip to content
Vectorlight.net

#d80fab

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

HEX
#d80fab
RGB
216, 15, 171
HSL
313.43°, 87.01%, 45.29%
OKLCH
0.6 0.25 340.9
Names
—
Lists

Codes

FormatValue
HEX#d80fab
RGBrgb(216 15 171)
HSLhsl(313.43 87.01% 45.29%)
OKLCHoklch(0.6 0.25 340.9)
CMYKcmyk(0% 93.06% 20.83% 15.29%)
Android#ffd80fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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