Skip to content

#ff3b21

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

RGB
255, 59, 33
HSL
7°, 100%, 57%
CMYK
0, 77, 87, 0
Luminance
0.2450

Every format

HEX#ff3b21
RGBrgb(255, 59, 33)
HSLhsl(7, 100%, 57%)
CMYKcmyk(0%, 77%, 87%, 0%)
LABlab(56.6 71.2 59.2)
LCHlch(56.6 92.6 39.8)
OKLCHoklch(0.653 0.234 31.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff3b21 on white: 3.56:1
AA ✗ fail · AA-large · AAA
Aa
#ff3b21 on black: 5.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green23.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta76.9%
Yellow87.1%
Key (black)0.0%

Color previews

#ff3b21 text on a black background

contrast 5.90:1

Card sample

#ff3b21 text on a white background

contrast 3.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff3b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff3b21 in the Color Lab