Skip to content
Vectorlight.net

#dd2a7f

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

HEX
#dd2a7f
RGB
221, 42, 127
HSL
331.51°, 72.47%, 51.57%
OKLCH
0.6 0.22 358.19
Names
—
Lists

Codes

FormatValue
HEX#dd2a7f
RGBrgb(221 42 127)
HSLhsl(331.51 72.47% 51.57%)
OKLCHoklch(0.6 0.22 358.19)
CMYKcmyk(0% 81% 42.53% 13.33%)
Android#ffdd2a7f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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