Skip to content

#cb4d39

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

RGB
203, 77, 57
HSL
8°, 58%, 51%
CMYK
0, 62, 72, 20
Luminance
0.1830

Every format

HEX#cb4d39
RGBrgb(203, 77, 57)
HSLhsl(8, 58%, 51%)
CMYKcmyk(0%, 62%, 72%, 20%)
LABlab(49.9 48.9 37.8)
LCHlch(49.9 61.8 37.7)
OKLCHoklch(0.586 0.164 31.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb4d39 on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#cb4d39 on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green30.2%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta62.1%
Yellow71.9%
Key (black)20.4%

Color previews

#cb4d39 text on a black background

contrast 4.66:1

Card sample

#cb4d39 text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb4d39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb4d39 in the Color Lab