Skip to content

#c04021

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

RGB
192, 64, 33
HSL
12°, 71%, 44%
CMYK
0, 67, 83, 25
Luminance
0.1498

Every format

HEX#c04021
RGBrgb(192, 64, 33)
HSLhsl(12, 71%, 44%)
CMYKcmyk(0%, 67%, 83%, 25%)
LABlab(45.6 49.8 45.3)
LCHlch(45.6 67.3 42.3)
OKLCHoklch(0.550 0.170 34.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red75.3%
Green25.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta66.7%
Yellow82.8%
Key (black)24.7%

Color previews

#c04021 text on a black background

contrast 4.00:1

Card sample

#c04021 text on a white background

contrast 5.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c04021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c04021 in the Color Lab