Skip to content

#ff5f49

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

RGB
255, 95, 73
HSL
7°, 100%, 64%
CMYK
0, 63, 71, 0
Luminance
0.2993

Every format

HEX#ff5f49
RGBrgb(255, 95, 73)
HSLhsl(7, 100%, 64%)
CMYKcmyk(0%, 63%, 71%, 0%)
LABlab(61.6 59.6 44.7)
LCHlch(61.6 74.5 36.8)
OKLCHoklch(0.692 0.199 30.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff5f49 on white: 3.01:1
AA ✗ fail · AA-large · AAA
Aa
#ff5f49 on black: 6.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green37.3%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta62.7%
Yellow71.4%
Key (black)0.0%

Color previews

#ff5f49 text on a black background

contrast 6.99:1

Card sample

#ff5f49 text on a white background

contrast 3.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff5f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff5f49 in the Color Lab