Skip to content
Vectorlight.net

#dd398b

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

HEX
#dd398b
RGB
221, 57, 139
HSL
330°, 70.69%, 54.51%
OKLCH
0.61 0.21 354.88
Names
—
Lists

Codes

FormatValue
HEX#dd398b
RGBrgb(221 57 139)
HSLhsl(330 70.69% 54.51%)
OKLCHoklch(0.61 0.21 354.88)
CMYKcmyk(0% 74.21% 37.1% 13.33%)
Android#ffdd398b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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