Skip to content

#cf4b45

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

RGB
207, 75, 69
HSL
3°, 59%, 54%
CMYK
0, 64, 67, 19
Luminance
0.1873

Every format

HEX#cf4b45
RGBrgb(207, 75, 69)
HSLhsl(3, 59%, 54%)
CMYKcmyk(0%, 64%, 67%, 19%)
LABlab(50.4 51.8 31.7)
LCHlch(50.4 60.7 31.5)
OKLCHoklch(0.592 0.168 26.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf4b45 on white: 4.43:1
AA ✗ fail · AA-large · AAA
Aa
#cf4b45 on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green29.4%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta63.8%
Yellow66.7%
Key (black)18.8%

Color previews

#cf4b45 text on a black background

contrast 4.75:1

Card sample

#cf4b45 text on a white background

contrast 4.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf4b45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf4b45 in the Color Lab