Skip to content

#cd2e2c

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

RGB
205, 46, 44
HSL
1°, 65%, 49%
CMYK
0, 78, 79, 20
Luminance
0.1511

Every format

HEX#cd2e2c
RGBrgb(205, 46, 44)
HSLhsl(1, 65%, 49%)
CMYKcmyk(0%, 78%, 79%, 20%)
LABlab(45.8 60.7 40.6)
LCHlch(45.8 73.1 33.8)
OKLCHoklch(0.556 0.196 26.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2e2c on white: 5.22:1
AA ✓ pass · AA-large · AAA
Aa
#cd2e2c on black: 4.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.0%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta77.6%
Yellow78.5%
Key (black)19.6%

Color previews

#cd2e2c text on a black background

contrast 4.02:1

Card sample

#cd2e2c text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2e2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2e2c in the Color Lab