Skip to content

#cb3b21

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

RGB
203, 59, 33
HSL
9°, 72%, 46%
CMYK
0, 71, 84, 20
Luminance
0.1593

Every format

HEX#cb3b21
RGBrgb(203, 59, 33)
HSLhsl(9, 72%, 46%)
CMYKcmyk(0%, 71%, 84%, 20%)
LABlab(46.9 55.4 47.2)
LCHlch(46.9 72.8 40.4)
OKLCHoklch(0.563 0.185 32.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb3b21 on white: 5.02:1
AA ✓ pass · AA-large · AAA
Aa
#cb3b21 on black: 4.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green23.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta70.9%
Yellow83.7%
Key (black)20.4%

Color previews

#cb3b21 text on a black background

contrast 4.19:1

Card sample

#cb3b21 text on a white background

contrast 5.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb3b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb3b21 in the Color Lab