Skip to content

#cf5f2f

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

RGB
207, 95, 47
HSL
18°, 63%, 50%
CMYK
0, 54, 77, 19
Luminance
0.2166

Every format

HEX#cf5f2f
RGBrgb(207, 95, 47)
HSLhsl(18, 63%, 50%)
CMYKcmyk(0%, 54%, 77%, 19%)
LABlab(53.7 41.4 47.2)
LCHlch(53.7 62.8 48.7)
OKLCHoklch(0.616 0.155 42.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5f2f on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#cf5f2f on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green37.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta54.1%
Yellow77.3%
Key (black)18.8%

Color previews

#cf5f2f text on a black background

contrast 5.33:1

Card sample

#cf5f2f text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf5f2f in the Color Lab