Skip to content

#dc2c2f

a balanced, vivid red · warm · closest name: crimson

RGB
220, 44, 47
HSL
359°, 72%, 52%
CMYK
0, 80, 79, 14
Luminance
0.1722

Every format

HEX#dc2c2f
RGBrgb(220, 44, 47)
HSLhsl(359, 72%, 52%)
CMYKcmyk(0%, 80%, 79%, 14%)
LABlab(48.5 65.7 42.7)
LCHlch(48.5 78.4 33.0)
OKLCHoklch(0.582 0.211 26.1)

Copy-ready code

/* CSS */
color: #dc2c2f;
background-color: #dc2c2f;
/* Tailwind (arbitrary) */
class="text-[#dc2c2f] bg-[#dc2c2f]"
/* SCSS */
$brand: #dc2c2f;
/* SwiftUI */
Color(red: 0.863, green: 0.173, blue: 0.184)
/* Android */
Color.parseColor("#dc2c2f")

Accessibility — WCAG contrast

Aa
#dc2c2f on white: 4.72:1
AA ✓ pass · AA-large · AAA
Aa
#dc2c2f on black: 4.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow78.6%
Key (black)13.7%

Color previews

#dc2c2f text on a black background

contrast 4.44:1

Card sample

#dc2c2f text on a white background

contrast 4.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #dc2c2f;
Background color
Panel with #dc2c2f background
background-color: #dc2c2f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #dc2c2f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(220, 44, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 44, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dc2c2f;
background: linear-gradient(135deg, #dc2c2f, #DC9E2C);

Monochromatic scale

Palettes built from #dc2c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2c2f in the Color Lab