Skip to content
Vectorlight.net

#d642aa

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

HEX
#d642aa
RGB
214, 66, 170
HSL
317.84°, 64.35%, 54.9%
OKLCH
0.62 0.21 342.03
Names
—
Lists

Codes

FormatValue
HEX#d642aa
RGBrgb(214 66 170)
HSLhsl(317.84 64.35% 54.9%)
OKLCHoklch(0.62 0.21 342.03)
CMYKcmyk(0% 69.16% 20.56% 16.08%)
Android#ffd642aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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