Skip to content

#cc4f0f

a dark, electric orange · warm · closest name: chocolate

RGB
204, 79, 15
HSL
20°, 86%, 43%
CMYK
0, 61, 93, 20
Luminance
0.1846

Every format

HEX#cc4f0f
RGBrgb(204, 79, 15)
HSLhsl(20, 86%, 43%)
CMYKcmyk(0%, 61%, 93%, 20%)
LABlab(50.1 47.1 56.6)
LCHlch(50.1 73.7 50.3)
OKLCHoklch(0.587 0.172 41.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc4f0f on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#cc4f0f on black: 4.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green31.0%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta61.3%
Yellow92.6%
Key (black)20.0%

Color previews

#cc4f0f text on a black background

contrast 4.69:1

Card sample

#cc4f0f text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc4f0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc4f0f in the Color Lab