Skip to content

#fd0f1f

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

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

Every format

HEX#fd0f1f
RGBrgb(253, 15, 31)
HSLhsl(356, 98%, 53%)
CMYKcmyk(0%, 94%, 88%, 1%)
LABlab(53.3 78.8 57.4)
LCHlch(53.3 97.5 36.1)
OKLCHoklch(0.628 0.252 27.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd0f1f on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#fd0f1f on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green5.9%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta94.1%
Yellow87.7%
Key (black)0.8%

Color previews

#fd0f1f text on a black background

contrast 5.26:1

Card sample

#fd0f1f text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd0f1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd0f1f in the Color Lab