Skip to content

#fd1f0f

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

RGB
253, 31, 15
HSL
4°, 98%, 53%
CMYK
0, 88, 94, 1
Luminance
0.2190

Every format

HEX#fd1f0f
RGBrgb(253, 31, 15)
HSLhsl(4, 98%, 53%)
CMYKcmyk(0%, 88%, 94%, 1%)
LABlab(53.9 76.7 63.6)
LCHlch(53.9 99.6 39.7)
OKLCHoklch(0.632 0.248 29.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd1f0f on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#fd1f0f on black: 5.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green12.2%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta87.7%
Yellow94.1%
Key (black)0.8%

Color previews

#fd1f0f text on a black background

contrast 5.38:1

Card sample

#fd1f0f text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd1f0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd1f0f in the Color Lab