Skip to content

#cc3d2f

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

RGB
204, 61, 47
HSL
5°, 63%, 49%
CMYK
0, 70, 77, 20
Luminance
0.1638

Every format

HEX#cc3d2f
RGBrgb(204, 61, 47)
HSLhsl(5, 63%, 49%)
CMYKcmyk(0%, 70%, 77%, 20%)
LABlab(47.5 55.4 40.7)
LCHlch(47.5 68.8 36.3)
OKLCHoklch(0.569 0.182 29.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc3d2f on white: 4.91:1
AA ✓ pass · AA-large · AAA
Aa
#cc3d2f on black: 4.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green23.9%
Blue18.4%

CMYK percentages

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

Color previews

#cc3d2f text on a black background

contrast 4.28:1

Card sample

#cc3d2f text on a white background

contrast 4.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc3d2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc3d2f in the Color Lab