Skip to content
Vectorlight.net

#dc307b

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

HEX
#dc307b
RGB
220, 48, 123
HSL
333.84°, 71.07%, 52.55%
OKLCH
0.6 0.21 0.04
Names
—
Lists

Codes

FormatValue
HEX#dc307b
RGBrgb(220 48 123)
HSLhsl(333.84 71.07% 52.55%)
OKLCHoklch(0.6 0.21 0.04)
CMYKcmyk(0% 78.18% 44.09% 13.73%)
Android#ffdc307b

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="#dc307b"
Gradient stop
<stop stop-color="#dc307b"/>
CSS variable + fill
:root { --c: #dc307b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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