Skip to content
Vectorlight.net

#d451ab

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

HEX
#d451ab
RGB
212, 81, 171
HSL
318.78°, 60.37%, 57.45%
OKLCH
0.64 0.19 341.95
Names
—
Lists

Codes

FormatValue
HEX#d451ab
RGBrgb(212 81 171)
HSLhsl(318.78 60.37% 57.45%)
OKLCHoklch(0.64 0.19 341.95)
CMYKcmyk(0% 61.79% 19.34% 16.86%)
Android#ffd451ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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