Skip to content

#ca2c21

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

RGB
202, 44, 33
HSL
4°, 72%, 46%
CMYK
0, 78, 84, 21
Luminance
0.1447

Every format

HEX#ca2c21
RGBrgb(202, 44, 33)
HSLhsl(4, 72%, 46%)
CMYKcmyk(0%, 78%, 84%, 21%)
LABlab(44.9 60.1 45.4)
LCHlch(44.9 75.3 37.0)
OKLCHoklch(0.548 0.196 29.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca2c21 on white: 5.39:1
AA ✓ pass · AA-large · AAA
Aa
#ca2c21 on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green17.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta78.2%
Yellow83.7%
Key (black)20.8%

Color previews

#ca2c21 text on a black background

contrast 3.89:1

Card sample

#ca2c21 text on a white background

contrast 5.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca2c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca2c21 in the Color Lab