Skip to content

#cb4d49

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

RGB
203, 77, 73
HSL
2°, 56%, 54%
CMYK
0, 62, 64, 20
Luminance
0.1849

Every format

HEX#cb4d49
RGBrgb(203, 77, 73)
HSLhsl(2, 56%, 54%)
CMYKcmyk(0%, 62%, 64%, 20%)
LABlab(50.1 49.8 28.9)
LCHlch(50.1 57.5 30.1)
OKLCHoklch(0.589 0.161 25.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb4d49 on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#cb4d49 on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green30.2%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta62.1%
Yellow64.0%
Key (black)20.4%

Color previews

#cb4d49 text on a black background

contrast 4.70:1

Card sample

#cb4d49 text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb4d49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb4d49 in the Color Lab