Skip to content
Vectorlight.net

#dc408b

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

HEX
#dc408b
RGB
220, 64, 139
HSL
331.15°, 69.03%, 55.69%
OKLCH
0.62 0.2 355.37
Names
—
Lists

Codes

FormatValue
HEX#dc408b
RGBrgb(220 64 139)
HSLhsl(331.15 69.03% 55.69%)
OKLCHoklch(0.62 0.2 355.37)
CMYKcmyk(0% 70.91% 36.82% 13.73%)
Android#ffdc408b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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