Skip to content
Vectorlight.net

#dd51bf

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

HEX
#dd51bf
RGB
221, 81, 191
HSL
312.86°, 67.31%, 59.22%
OKLCH
0.66 0.21 337.19
Names
—
Lists

Codes

FormatValue
HEX#dd51bf
RGBrgb(221 81 191)
HSLhsl(312.86 67.31% 59.22%)
OKLCHoklch(0.66 0.21 337.19)
CMYKcmyk(0% 63.35% 13.57% 13.33%)
Android#ffdd51bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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