Skip to content

#cd2f21

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

RGB
205, 47, 33
HSL
5°, 72%, 47%
CMYK
0, 77, 84, 20
Luminance
0.1512

Every format

HEX#cd2f21
RGBrgb(205, 47, 33)
HSLhsl(5, 72%, 47%)
CMYKcmyk(0%, 77%, 84%, 20%)
LABlab(45.8 60.1 46.4)
LCHlch(45.8 75.9 37.7)
OKLCHoklch(0.556 0.196 29.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green18.4%
Blue12.9%

CMYK percentages

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

Color previews

#cd2f21 text on a black background

contrast 4.02:1

Card sample

#cd2f21 text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2f21 in the Color Lab