Skip to content

#ff6040

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

RGB
255, 96, 64
HSL
10°, 100%, 63%
CMYK
0, 62, 75, 0
Luminance
0.3000

Every format

HEX#ff6040
RGBrgb(255, 96, 64)
HSLhsl(10, 100%, 63%)
CMYKcmyk(0%, 62%, 75%, 0%)
LABlab(61.7 58.8 49.4)
LCHlch(61.7 76.8 40.0)
OKLCHoklch(0.692 0.200 33.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff6040 on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#ff6040 on black: 7.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green37.6%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta62.4%
Yellow74.9%
Key (black)0.0%

Color previews

#ff6040 text on a black background

contrast 7.00:1

Card sample

#ff6040 text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff6040

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff6040 in the Color Lab