Skip to content

#c42021

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

RGB
196, 32, 33
HSL
360°, 72%, 45%
CMYK
0, 84, 83, 23
Luminance
0.1288

Every format

HEX#c42021
RGBrgb(196, 32, 33)
HSLhsl(360, 72%, 45%)
CMYKcmyk(0%, 84%, 83%, 23%)
LABlab(42.6 61.6 42.8)
LCHlch(42.6 75.0 34.8)
OKLCHoklch(0.529 0.198 27.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c42021 on white: 5.87:1
AA ✓ pass · AA-large · AAA
Aa
#c42021 on black: 3.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green12.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta83.7%
Yellow83.2%
Key (black)23.1%

Color previews

#c42021 text on a black background

contrast 3.58:1

Card sample

#c42021 text on a white background

contrast 5.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c42021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c42021 in the Color Lab