Skip to content
Vectorlight.net

#d031aa

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

HEX
#d031aa
RGB
208, 49, 170
HSL
314.34°, 62.85%, 50.39%
OKLCH
0.6 0.23 339.75
Names
—
Lists

Codes

FormatValue
HEX#d031aa
RGBrgb(208 49 170)
HSLhsl(314.34 62.85% 50.39%)
OKLCHoklch(0.6 0.23 339.75)
CMYKcmyk(0% 76.44% 18.27% 18.43%)
Android#ffd031aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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