Skip to content

#cb2f39

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

RGB
203, 47, 57
HSL
356°, 62%, 49%
CMYK
0, 77, 72, 20
Luminance
0.1502

Every format

HEX#cb2f39
RGBrgb(203, 47, 57)
HSLhsl(356, 62%, 49%)
CMYKcmyk(0%, 77%, 72%, 20%)
LABlab(45.7 60.3 32.9)
LCHlch(45.7 68.8 28.6)
OKLCHoklch(0.555 0.192 23.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2f39 on white: 5.24:1
AA ✓ pass · AA-large · AAA
Aa
#cb2f39 on black: 4.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green18.4%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta76.8%
Yellow71.9%
Key (black)20.4%

Color previews

#cb2f39 text on a black background

contrast 4.00:1

Card sample

#cb2f39 text on a white background

contrast 5.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2f39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2f39 in the Color Lab