Skip to content

#ff2d1f

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

RGB
255, 45, 31
HSL
4°, 100%, 56%
CMYK
0, 82, 88, 0
Luminance
0.2324

Every format

HEX#ff2d1f
RGBrgb(255, 45, 31)
HSLhsl(4, 100%, 56%)
CMYKcmyk(0%, 82%, 88%, 0%)
LABlab(55.3 74.7 59.1)
LCHlch(55.3 95.3 38.3)
OKLCHoklch(0.644 0.242 29.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2d1f on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#ff2d1f on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.6%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta82.4%
Yellow87.8%
Key (black)0.0%

Color previews

#ff2d1f text on a black background

contrast 5.65:1

Card sample

#ff2d1f text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2d1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2d1f in the Color Lab