Skip to content

#cf4a2f

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

RGB
207, 74, 47
HSL
10°, 63%, 50%
CMYK
0, 64, 77, 19
Luminance
0.1837

Every format

HEX#cf4a2f
RGBrgb(207, 74, 47)
HSLhsl(10, 63%, 50%)
CMYKcmyk(0%, 64%, 77%, 19%)
LABlab(49.9 51.2 43.4)
LCHlch(49.9 67.1 40.3)
OKLCHoklch(0.588 0.173 33.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf4a2f on white: 4.49:1
AA ✗ fail · AA-large · AAA
Aa
#cf4a2f on black: 4.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green29.0%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta64.3%
Yellow77.3%
Key (black)18.8%

Color previews

#cf4a2f text on a black background

contrast 4.67:1

Card sample

#cf4a2f text on a white background

contrast 4.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf4a2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf4a2f in the Color Lab