Skip to content
Vectorlight.net

#dd298b

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

HEX
#dd298b
RGB
221, 41, 139
HSL
327.33°, 72.58%, 51.37%
OKLCH
0.6 0.23 353.65
Names
—
Lists

Codes

FormatValue
HEX#dd298b
RGBrgb(221 41 139)
HSLhsl(327.33 72.58% 51.37%)
OKLCHoklch(0.6 0.23 353.65)
CMYKcmyk(0% 81.45% 37.1% 13.33%)
Android#ffdd298b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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