Skip to content
Vectorlight.net

#dc307c

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

HEX
#dc307c
RGB
220, 48, 124
HSL
333.49°, 71.07%, 52.55%
OKLCH
0.6 0.21 359.65
Names
—
Lists

Codes

FormatValue
HEX#dc307c
RGBrgb(220 48 124)
HSLhsl(333.49 71.07% 52.55%)
OKLCHoklch(0.6 0.21 359.65)
CMYKcmyk(0% 78.18% 43.64% 13.73%)
Android#ffdc307c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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