Skip to content

#dc2d39

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

RGB
220, 45, 57
HSL
356°, 71%, 52%
CMYK
0, 80, 74, 14
Luminance
0.1739

Every format

HEX#dc2d39
RGBrgb(220, 45, 57)
HSLhsl(356, 71%, 52%)
CMYKcmyk(0%, 80%, 74%, 14%)
LABlab(48.8 65.8 37.3)
LCHlch(48.8 75.7 29.6)
OKLCHoklch(0.584 0.209 23.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2d39 on white: 4.69:1
AA ✓ pass · AA-large · AAA
Aa
#dc2d39 on black: 4.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.6%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta79.5%
Yellow74.1%
Key (black)13.7%

Color previews

#dc2d39 text on a black background

contrast 4.48:1

Card sample

#dc2d39 text on a white background

contrast 4.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2d39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2d39 in the Color Lab