Skip to content

#cf3a2c

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

RGB
207, 58, 44
HSL
5°, 65%, 49%
CMYK
0, 72, 79, 19
Luminance
0.1647

Every format

HEX#cf3a2c
RGBrgb(207, 58, 44)
HSLhsl(5, 65%, 49%)
CMYKcmyk(0%, 72%, 79%, 19%)
LABlab(47.6 57.4 42.6)
LCHlch(47.6 71.5 36.6)
OKLCHoklch(0.570 0.188 29.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf3a2c on white: 4.89:1
AA ✓ pass · AA-large · AAA
Aa
#cf3a2c on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green22.7%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta72.0%
Yellow78.7%
Key (black)18.8%

Color previews

#cf3a2c text on a black background

contrast 4.29:1

Card sample

#cf3a2c text on a white background

contrast 4.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf3a2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf3a2c in the Color Lab