Skip to content

#ff2822

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

RGB
255, 40, 34
HSL
2°, 100%, 57%
CMYK
0, 84, 87, 0
Luminance
0.2289

Every format

HEX#ff2822
RGBrgb(255, 40, 34)
HSLhsl(2, 100%, 57%)
CMYKcmyk(0%, 84%, 87%, 0%)
LABlab(55.0 75.8 57.5)
LCHlch(55.0 95.2 37.2)
OKLCHoklch(0.641 0.245 28.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green15.7%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta84.3%
Yellow86.7%
Key (black)0.0%

Color previews

#ff2822 text on a black background

contrast 5.58:1

Card sample

#ff2822 text on a white background

contrast 3.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2822

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2822 in the Color Lab