Skip to content

#cf4f2f

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

RGB
207, 79, 47
HSL
12°, 63%, 50%
CMYK
0, 62, 77, 19
Luminance
0.1906

Every format

HEX#cf4f2f
RGBrgb(207, 79, 47)
HSLhsl(12, 63%, 50%)
CMYKcmyk(0%, 62%, 77%, 19%)
LABlab(50.8 49.0 44.3)
LCHlch(50.8 66.0 42.1)
OKLCHoklch(0.594 0.169 35.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf4f2f on white: 4.36:1
AA ✗ fail · AA-large · AAA
Aa
#cf4f2f on black: 4.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green31.0%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta61.8%
Yellow77.3%
Key (black)18.8%

Color previews

#cf4f2f text on a black background

contrast 4.81:1

Card sample

#cf4f2f text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf4f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf4f2f in the Color Lab