Skip to content
Vectorlight.net

#dc309d

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

HEX
#dc309d
RGB
220, 48, 157
HSL
321.98°, 71.07%, 52.55%
OKLCH
0.61 0.23 347.32
Names
—
Lists

Codes

FormatValue
HEX#dc309d
RGBrgb(220 48 157)
HSLhsl(321.98 71.07% 52.55%)
OKLCHoklch(0.61 0.23 347.32)
CMYKcmyk(0% 78.18% 28.64% 13.73%)
Android#ffdc309d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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