Skip to content

#cc3c2f

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

RGB
204, 60, 47
HSL
5°, 63%, 49%
CMYK
0, 71, 77, 20
Luminance
0.1627

Every format

HEX#cc3c2f
RGBrgb(204, 60, 47)
HSLhsl(5, 63%, 49%)
CMYKcmyk(0%, 71%, 77%, 20%)
LABlab(47.3 55.8 40.5)
LCHlch(47.3 69.0 36.0)
OKLCHoklch(0.567 0.183 29.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc3c2f on white: 4.94:1
AA ✓ pass · AA-large · AAA
Aa
#cc3c2f on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green23.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta70.6%
Yellow77.0%
Key (black)20.0%

Color previews

#cc3c2f text on a black background

contrast 4.25:1

Card sample

#cc3c2f text on a white background

contrast 4.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc3c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc3c2f in the Color Lab