Skip to content

#cd2f2c

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

RGB
205, 47, 44
HSL
1°, 65%, 49%
CMYK
0, 77, 79, 20
Luminance
0.1519

Every format

HEX#cd2f2c
RGBrgb(205, 47, 44)
HSLhsl(1, 65%, 49%)
CMYKcmyk(0%, 77%, 79%, 20%)
LABlab(45.9 60.4 40.7)
LCHlch(45.9 72.9 34.0)
OKLCHoklch(0.557 0.195 27.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2f2c on white: 5.20:1
AA ✓ pass · AA-large · AAA
Aa
#cd2f2c on black: 4.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#cd2f2c text on a black background

contrast 4.04:1

Card sample

#cd2f2c text on a white background

contrast 5.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2f2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2f2c in the Color Lab