Skip to content

#cf2017

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

RGB
207, 32, 23
HSL
3°, 80%, 45%
CMYK
0, 85, 89, 19
Luminance
0.1436

Every format

HEX#cf2017
RGBrgb(207, 32, 23)
HSLhsl(3, 80%, 45%)
CMYKcmyk(0%, 85%, 89%, 19%)
LABlab(44.8 64.4 50.3)
LCHlch(44.8 81.7 38.0)
OKLCHoklch(0.549 0.208 29.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green12.5%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta84.5%
Yellow88.9%
Key (black)18.8%

Color previews

#cf2017 text on a black background

contrast 3.87:1

Card sample

#cf2017 text on a white background

contrast 5.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2017

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2017 in the Color Lab