Skip to content

#cf0c0f

a dark, electric red · warm · closest name: firebrick

RGB
207, 12, 15
HSL
359°, 89%, 43%
CMYK
0, 94, 93, 19
Luminance
0.1356

Every format

HEX#cf0c0f
RGBrgb(207, 12, 15)
HSLhsl(359, 89%, 43%)
CMYKcmyk(0%, 94%, 93%, 19%)
LABlab(43.6 67.5 52.7)
LCHlch(43.6 85.6 38.0)
OKLCHoklch(0.540 0.217 28.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf0c0f on white: 5.66:1
AA ✓ pass · AA-large · AAA
Aa
#cf0c0f on black: 3.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green4.7%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta94.2%
Yellow92.8%
Key (black)18.8%

Color previews

#cf0c0f text on a black background

contrast 3.71:1

Card sample

#cf0c0f text on a white background

contrast 5.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0c0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf0c0f in the Color Lab