Skip to content
Vectorlight.net

#d451aa

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

HEX
#d451aa
RGB
212, 81, 170
HSL
319.24°, 60.37%, 57.45%
OKLCH
0.64 0.19 342.35
Names
—
Lists

Codes

FormatValue
HEX#d451aa
RGBrgb(212 81 170)
HSLhsl(319.24 60.37% 57.45%)
OKLCHoklch(0.64 0.19 342.35)
CMYKcmyk(0% 61.79% 19.81% 16.86%)
Android#ffd451aa

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.55: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="#d451aa"
Gradient stop
<stop stop-color="#d451aa"/>
CSS variable + fill
:root { --c: #d451aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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