Skip to content
Vectorlight.net

#dc508b

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

HEX
#dc508b
RGB
220, 80, 139
HSL
334.71°, 66.67%, 58.82%
OKLCH
0.63 0.18 357.57
Names
—
Lists

Codes

FormatValue
HEX#dc508b
RGBrgb(220 80 139)
HSLhsl(334.71 66.67% 58.82%)
OKLCHoklch(0.63 0.18 357.57)
CMYKcmyk(0% 63.64% 36.82% 13.73%)
Android#ffdc508b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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