Skip to content
Vectorlight.net

#dd40ab

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

HEX
#dd40ab
RGB
221, 64, 171
HSL
319.11°, 69.78%, 55.88%
OKLCH
0.63 0.22 343.45
Names
—
Lists

Codes

FormatValue
HEX#dd40ab
RGBrgb(221 64 171)
HSLhsl(319.11 69.78% 55.88%)
OKLCHoklch(0.63 0.22 343.45)
CMYKcmyk(0% 71.04% 22.62% 13.33%)
Android#ffdd40ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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