Skip to content
Vectorlight.net

#dc306b

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

HEX
#dc306b
RGB
220, 48, 107
HSL
339.42°, 71.07%, 52.55%
OKLCH
0.6 0.21 6.33
Names
—
Lists

Codes

FormatValue
HEX#dc306b
RGBrgb(220 48 107)
HSLhsl(339.42 71.07% 52.55%)
OKLCHoklch(0.6 0.21 6.33)
CMYKcmyk(0% 78.18% 51.36% 13.73%)
Android#ffdc306b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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