Skip to content
Vectorlight.net

#dd178b

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

HEX
#dd178b
RGB
221, 23, 139
HSL
324.85°, 81.15%, 47.84%
OKLCH
0.59 0.24 352.81
Names
—
Lists

Codes

FormatValue
HEX#dd178b
RGBrgb(221 23 139)
HSLhsl(324.85 81.15% 47.84%)
OKLCHoklch(0.59 0.24 352.81)
CMYKcmyk(0% 89.59% 37.1% 13.33%)
Android#ffdd178b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#dd178b"
Gradient stop
<stop stop-color="#dd178b"/>
CSS variable + fill
:root { --c: #dd178b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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