Skip to content

#f05f50

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

RGB
240, 95, 80
HSL
6°, 84%, 63%
CMYK
0, 60, 67, 6
Luminance
0.2729

Every format

HEX#f05f50
RGBrgb(240, 95, 80)
HSLhsl(6, 84%, 63%)
CMYKcmyk(0%, 60%, 67%, 6%)
LABlab(59.3 54.9 37.5)
LCHlch(59.3 66.5 34.3)
OKLCHoklch(0.670 0.182 28.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f05f50 on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#f05f50 on black: 6.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green37.3%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta60.4%
Yellow66.7%
Key (black)5.9%

Color previews

#f05f50 text on a black background

contrast 6.46:1

Card sample

#f05f50 text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f05f50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f05f50 in the Color Lab