Skip to content

#c81f21

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

RGB
200, 31, 33
HSL
359°, 73%, 45%
CMYK
0, 85, 84, 22
Luminance
0.1337

Every format

HEX#c81f21
RGBrgb(200, 31, 33)
HSLhsl(359, 73%, 45%)
CMYKcmyk(0%, 85%, 84%, 22%)
LABlab(43.3 62.9 43.8)
LCHlch(43.3 76.6 34.8)
OKLCHoklch(0.536 0.202 27.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c81f21 on white: 5.72:1
AA ✓ pass · AA-large · AAA
Aa
#c81f21 on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green12.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta84.5%
Yellow83.5%
Key (black)21.6%

Color previews

#c81f21 text on a black background

contrast 3.67:1

Card sample

#c81f21 text on a white background

contrast 5.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c81f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c81f21 in the Color Lab