Skip to content
Vectorlight.net

#dc304f

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

HEX
#dc304f
RGB
220, 48, 79
HSL
349.19°, 71.07%, 52.55%
OKLCH
0.59 0.21 16.96
Names
—
Lists

Codes

FormatValue
HEX#dc304f
RGBrgb(220 48 79)
HSLhsl(349.19 71.07% 52.55%)
OKLCHoklch(0.59 0.21 16.96)
CMYKcmyk(0% 78.18% 64.09% 13.73%)
Android#ffdc304f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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