Skip to content
Vectorlight.net

#dc180a

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

HEX
#dc180a
RGB
220, 24, 10
HSL
4°, 91.3%, 45.1%
OKLCH
0.57 0.22 29.76
Names
—
Lists

Codes

FormatValue
HEX#dc180a
RGBrgb(220 24 10)
HSLhsl(4 91.3% 45.1%)
OKLCHoklch(0.57 0.22 29.76)
CMYKcmyk(0% 89.09% 95.45% 13.73%)
Android#ffdc180a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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