Skip to content

#f04c39

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

RGB
240, 76, 57
HSL
6°, 86%, 58%
CMYK
0, 68, 76, 6
Luminance
0.2399

Every format

HEX#f04c39
RGBrgb(240, 76, 57)
HSLhsl(6, 86%, 58%)
CMYKcmyk(0%, 68%, 76%, 6%)
LABlab(56.1 61.7 46.4)
LCHlch(56.1 77.2 36.9)
OKLCHoklch(0.645 0.203 30.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f04c39 on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#f04c39 on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green29.8%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta68.3%
Yellow76.3%
Key (black)5.9%

Color previews

#f04c39 text on a black background

contrast 5.80:1

Card sample

#f04c39 text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f04c39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f04c39 in the Color Lab