Skip to content

#cd2d2c

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

RGB
205, 45, 44
HSL
0°, 65%, 49%
CMYK
0, 78, 79, 20
Luminance
0.1504

Every format

HEX#cd2d2c
RGBrgb(205, 45, 44)
HSLhsl(0, 65%, 49%)
CMYKcmyk(0%, 78%, 79%, 20%)
LABlab(45.7 61.0 40.5)
LCHlch(45.7 73.3 33.6)
OKLCHoklch(0.555 0.196 26.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2d2c on white: 5.24:1
AA ✓ pass · AA-large · AAA
Aa
#cd2d2c on black: 4.01:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green17.6%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta78.0%
Yellow78.5%
Key (black)19.6%

Color previews

#cd2d2c text on a black background

contrast 4.01:1

Card sample

#cd2d2c text on a white background

contrast 5.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2d2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2d2c in the Color Lab