Skip to content

#cd2f22

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

RGB
205, 47, 34
HSL
5°, 72%, 47%
CMYK
0, 77, 83, 20
Luminance
0.1513

Every format

HEX#cd2f22
RGBrgb(205, 47, 34)
HSLhsl(5, 72%, 47%)
CMYKcmyk(0%, 77%, 83%, 20%)
LABlab(45.8 60.1 45.9)
LCHlch(45.8 75.7 37.4)
OKLCHoklch(0.556 0.196 29.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green18.4%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow83.4%
Key (black)19.6%

Color previews

#cd2f22 text on a black background

contrast 4.03:1

Card sample

#cd2f22 text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2f22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2f22 in the Color Lab