Skip to content

#cb2c0f

a dark, electric red · warm · closest name: firebrick

RGB
203, 44, 15
HSL
9°, 86%, 43%
CMYK
0, 78, 93, 20
Luminance
0.1453

Every format

HEX#cb2c0f
RGBrgb(203, 44, 15)
HSLhsl(9, 86%, 43%)
CMYKcmyk(0%, 78%, 93%, 20%)
LABlab(45.0 60.1 53.2)
LCHlch(45.0 80.3 41.5)
OKLCHoklch(0.549 0.198 32.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2c0f on white: 5.38:1
AA ✓ pass · AA-large · AAA
Aa
#cb2c0f on black: 3.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green17.3%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow92.6%
Key (black)20.4%

Color previews

#cb2c0f text on a black background

contrast 3.91:1

Card sample

#cb2c0f text on a white background

contrast 5.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2c0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2c0f in the Color Lab