Skip to content
Vectorlight.net

#dd158b

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

HEX
#dd158b
RGB
221, 21, 139
HSL
324.6°, 82.64%, 47.45%
OKLCH
0.59 0.24 352.75
Names
—
Lists

Codes

FormatValue
HEX#dd158b
RGBrgb(221 21 139)
HSLhsl(324.6 82.64% 47.45%)
OKLCHoklch(0.59 0.24 352.75)
CMYKcmyk(0% 90.5% 37.1% 13.33%)
Android#ffdd158b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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