Skip to content

#cf2010

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

RGB
207, 32, 16
HSL
5°, 86%, 44%
CMYK
0, 85, 92, 19
Luminance
0.1434

Every format

HEX#cf2010
RGBrgb(207, 32, 16)
HSLhsl(5, 86%, 44%)
CMYKcmyk(0%, 85%, 92%, 19%)
LABlab(44.7 64.3 53.1)
LCHlch(44.7 83.4 39.5)
OKLCHoklch(0.548 0.209 30.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2010 on white: 5.43:1
AA ✓ pass · AA-large · AAA
Aa
#cf2010 on black: 3.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green12.5%
Blue6.3%

CMYK percentages

Cyan0.0%
Magenta84.5%
Yellow92.3%
Key (black)18.8%

Color previews

#cf2010 text on a black background

contrast 3.87:1

Card sample

#cf2010 text on a white background

contrast 5.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2010

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2010 in the Color Lab