Skip to content

#cc5f2f

a balanced, vivid orange · warm · closest name: chocolate

RGB
204, 95, 47
HSL
18°, 63%, 49%
CMYK
0, 53, 77, 20
Luminance
0.2123

Every format

HEX#cc5f2f
RGBrgb(204, 95, 47)
HSLhsl(18, 63%, 49%)
CMYKcmyk(0%, 53%, 77%, 20%)
LABlab(53.2 40.3 46.6)
LCHlch(53.2 61.6 49.2)
OKLCHoklch(0.612 0.151 42.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green37.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta53.4%
Yellow77.0%
Key (black)20.0%

Color previews

#cc5f2f text on a black background

contrast 5.25:1

Card sample

#cc5f2f text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc5f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc5f2f in the Color Lab