Skip to content

#cc3f2d

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

RGB
204, 63, 45
HSL
7°, 64%, 49%
CMYK
0, 69, 78, 20
Luminance
0.1658

Every format

HEX#cc3f2d
RGBrgb(204, 63, 45)
HSLhsl(7, 64%, 49%)
CMYKcmyk(0%, 69%, 78%, 20%)
LABlab(47.7 54.6 42.0)
LCHlch(47.7 68.9 37.6)
OKLCHoklch(0.570 0.181 30.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc3f2d on white: 4.87:1
AA ✓ pass · AA-large · AAA
Aa
#cc3f2d on black: 4.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green24.7%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta69.1%
Yellow77.9%
Key (black)20.0%

Color previews

#cc3f2d text on a black background

contrast 4.32:1

Card sample

#cc3f2d text on a white background

contrast 4.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc3f2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc3f2d in the Color Lab