Skip to content

#dc2c4f

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

RGB
220, 44, 79
HSL
348°, 72%, 52%
CMYK
0, 80, 64, 14
Luminance
0.1758

Every format

HEX#dc2c4f
RGBrgb(220, 44, 79)
HSLhsl(348, 72%, 52%)
CMYKcmyk(0%, 80%, 64%, 14%)
LABlab(49.0 67.1 24.6)
LCHlch(49.0 71.4 20.1)
OKLCHoklch(0.587 0.209 16.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2c4f on white: 4.65:1
AA ✓ pass · AA-large · AAA
Aa
#dc2c4f on black: 4.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow64.1%
Key (black)13.7%

Color previews

#dc2c4f text on a black background

contrast 4.52:1

Card sample

#dc2c4f text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2c4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2c4f in the Color Lab