Skip to content
Vectorlight.net

#dd2ab7

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

HEX
#dd2ab7
RGB
221, 42, 183
HSL
312.74°, 72.47%, 51.57%
OKLCH
0.62 0.25 338.82
Names
—
Lists

Codes

FormatValue
HEX#dd2ab7
RGBrgb(221 42 183)
HSLhsl(312.74 72.47% 51.57%)
OKLCHoklch(0.62 0.25 338.82)
CMYKcmyk(0% 81% 17.19% 13.33%)
Android#ffdd2ab7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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