Skip to content

#fd2f51

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

RGB
253, 47, 81
HSL
350°, 98%, 59%
CMYK
0, 81, 68, 1
Luminance
0.2351

Every format

HEX#fd2f51
RGBrgb(253, 47, 81)
HSLhsl(350, 98%, 59%)
CMYKcmyk(0%, 81%, 68%, 1%)
LABlab(55.6 75.3 33.0)
LCHlch(55.6 82.2 23.7)
OKLCHoklch(0.647 0.235 19.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd2f51 on white: 3.68:1
AA ✗ fail · AA-large · AAA
Aa
#fd2f51 on black: 5.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green18.4%
Blue31.8%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow68.0%
Key (black)0.8%

Color previews

#fd2f51 text on a black background

contrast 5.70:1

Card sample

#fd2f51 text on a white background

contrast 3.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2f51

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd2f51 in the Color Lab