Skip to content

#f04c49

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

RGB
240, 76, 73
HSL
1°, 85%, 61%
CMYK
0, 68, 70, 6
Luminance
0.2418

Every format

HEX#f04c49
RGBrgb(240, 76, 73)
HSLhsl(1, 85%, 61%)
CMYKcmyk(0%, 68%, 70%, 6%)
LABlab(56.3 62.3 37.9)
LCHlch(56.3 73.0 31.3)
OKLCHoklch(0.647 0.201 25.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f04c49 on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#f04c49 on black: 5.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green29.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta68.3%
Yellow69.6%
Key (black)5.9%

Color previews

#f04c49 text on a black background

contrast 5.84:1

Card sample

#f04c49 text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 76, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 76, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f04c49;
background: linear-gradient(135deg, #f04c49, #F0BB49);

Monochromatic scale

Palettes built from #f04c49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f04c49 in the Color Lab