Skip to content
Vectorlight.net

#dd158f

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

HEX
#dd158f
RGB
221, 21, 143
HSL
323.4°, 82.64%, 47.45%
OKLCH
0.6 0.24 351.36
Names
—
Lists

Codes

FormatValue
HEX#dd158f
RGBrgb(221 21 143)
HSLhsl(323.4 82.64% 47.45%)
OKLCHoklch(0.6 0.24 351.36)
CMYKcmyk(0% 90.5% 35.29% 13.33%)
Android#ffdd158f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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