Skip to content

#f40f49

a balanced, electric magenta / pink · warm · closest name: crimson

RGB
244, 15, 73
HSL
345°, 91%, 51%
CMYK
0, 94, 70, 4
Luminance
0.2006

Every format

HEX#f40f49
RGBrgb(244, 15, 73)
HSLhsl(345, 91%, 51%)
CMYKcmyk(0%, 94%, 70%, 4%)
LABlab(51.9 77.8 32.8)
LCHlch(51.9 84.5 22.9)
OKLCHoklch(0.616 0.242 18.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f40f49 on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#f40f49 on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green5.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta93.9%
Yellow70.1%
Key (black)4.3%

Color previews

#f40f49 text on a black background

contrast 5.01:1

Card sample

#f40f49 text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f40f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f40f49 in the Color Lab