Skip to content
Vectorlight.net

#dc308b

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

HEX
#dc308b
RGB
220, 48, 139
HSL
328.26°, 71.07%, 52.55%
OKLCH
0.61 0.22 353.89
Names
—
Lists

Codes

FormatValue
HEX#dc308b
RGBrgb(220 48 139)
HSLhsl(328.26 71.07% 52.55%)
OKLCHoklch(0.61 0.22 353.89)
CMYKcmyk(0% 78.18% 36.82% 13.73%)
Android#ffdc308b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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