Skip to content
Vectorlight.net

#dd31a5

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

HEX
#dd31a5
RGB
221, 49, 165
HSL
319.53°, 71.67%, 52.94%
OKLCH
0.62 0.23 344.84
Names
—
Lists

Codes

FormatValue
HEX#dd31a5
RGBrgb(221 49 165)
HSLhsl(319.53 71.67% 52.94%)
OKLCHoklch(0.62 0.23 344.84)
CMYKcmyk(0% 77.83% 25.34% 13.33%)
Android#ffdd31a5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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