Skip to content
Vectorlight.net

#dd51bb

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

HEX
#dd51bb
RGB
221, 81, 187
HSL
314.57°, 67.31%, 59.22%
OKLCH
0.66 0.21 338.59
Names
—
Lists

Codes

FormatValue
HEX#dd51bb
RGBrgb(221 81 187)
HSLhsl(314.57 67.31% 59.22%)
OKLCHoklch(0.66 0.21 338.59)
CMYKcmyk(0% 63.35% 15.38% 13.33%)
Android#ffdd51bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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