Skip to content

#ff4028

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

RGB
255, 64, 40
HSL
7°, 100%, 58%
CMYK
0, 75, 84, 0
Luminance
0.2508

Every format

HEX#ff4028
RGBrgb(255, 64, 40)
HSLhsl(7, 100%, 58%)
CMYKcmyk(0%, 75%, 84%, 0%)
LABlab(57.2 69.9 56.7)
LCHlch(57.2 90.0 39.1)
OKLCHoklch(0.657 0.230 30.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4028 on white: 3.49:1
AA ✗ fail · AA-large · AAA
Aa
#ff4028 on black: 6.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green25.1%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta74.9%
Yellow84.3%
Key (black)0.0%

Color previews

#ff4028 text on a black background

contrast 6.02:1

Card sample

#ff4028 text on a white background

contrast 3.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4028

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4028 in the Color Lab