Skip to content
Vectorlight.net

#dd228e

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

HEX
#dd228e
RGB
221, 34, 142
HSL
325.35°, 73.33%, 50%
OKLCH
0.6 0.23 352.19
Names
—
Lists

Codes

FormatValue
HEX#dd228e
RGBrgb(221 34 142)
HSLhsl(325.35 73.33% 50%)
OKLCHoklch(0.6 0.23 352.19)
CMYKcmyk(0% 84.62% 35.75% 13.33%)
Android#ffdd228e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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