Skip to content

#f04439

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

RGB
240, 68, 57
HSL
4°, 86%, 58%
CMYK
0, 72, 76, 6
Luminance
0.2295

Every format

HEX#f04439
RGBrgb(240, 68, 57)
HSLhsl(4, 86%, 58%)
CMYKcmyk(0%, 72%, 76%, 6%)
LABlab(55.0 64.6 45.3)
LCHlch(55.0 78.8 35.0)
OKLCHoklch(0.637 0.210 28.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f04439 on white: 3.76:1
AA ✗ fail · AA-large · AAA
Aa
#f04439 on black: 5.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green26.7%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta71.7%
Yellow76.3%
Key (black)5.9%

Color previews

#f04439 text on a black background

contrast 5.59:1

Card sample

#f04439 text on a white background

contrast 3.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f04439

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f04439 in the Color Lab