Skip to content
Vectorlight.net

#dd397a

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

HEX
#dd397a
RGB
221, 57, 122
HSL
336.22°, 70.69%, 54.51%
OKLCH
0.61 0.2 1.64
Names
—
Lists

Codes

FormatValue
HEX#dd397a
RGBrgb(221 57 122)
HSLhsl(336.22 70.69% 54.51%)
OKLCHoklch(0.61 0.2 1.64)
CMYKcmyk(0% 74.21% 44.8% 13.33%)
Android#ffdd397a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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