Skip to content

#f40f39

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

RGB
244, 15, 57
HSL
349°, 91%, 51%
CMYK
0, 94, 77, 4
Luminance
0.1987

Every format

HEX#f40f39
RGBrgb(244, 15, 57)
HSLhsl(349, 91%, 51%)
CMYKcmyk(0%, 94%, 77%, 4%)
LABlab(51.7 77.3 41.9)
LCHlch(51.7 87.9 28.5)
OKLCHoklch(0.614 0.243 22.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f40f39 on white: 4.22:1
AA ✗ fail · AA-large · AAA
Aa
#f40f39 on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green5.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta93.9%
Yellow76.6%
Key (black)4.3%

Color previews

#f40f39 text on a black background

contrast 4.97:1

Card sample

#f40f39 text on a white background

contrast 4.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f40f39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f40f39 in the Color Lab