#f52c49
a balanced, electric red · warm · closest name: crimson
RGB
245, 44, 73
HSL
351°, 91%, 57%
CMYK
0, 82, 70, 4
Luminance
0.2169
Every format
| HEX | #f52c49 |
| RGB | rgb(245, 44, 73) |
| HSL | hsl(351, 91%, 57%) |
| CMYK | cmyk(0%, 82%, 70%, 4%) |
| LAB | lab(53.7 73.5 35.1) |
| LCH | lch(53.7 81.4 25.5) |
| OKLCH | oklch(0.630 0.231 20.4) |
Copy-ready code
/* CSS */
color: #f52c49;
background-color: #f52c49;
/* Tailwind (arbitrary) */
class="text-[#f52c49] bg-[#f52c49]"
/* SCSS */
$brand: #f52c49;
/* SwiftUI */
Color(red: 0.961, green: 0.173, blue: 0.286)
/* Android */
Color.parseColor("#f52c49")Accessibility — WCAG contrast
Aa
#f52c49 on white: 3.93:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f52c49 on black: 5.34:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.1%
Green17.3%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta82.0%
Yellow70.2%
Key (black)3.9%
Color previews
#f52c49 text on a black background
contrast 5.34:1
Card sample
#f52c49 text on a white background
contrast 3.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f52c49;
Background color
Panel with #f52c49 background
background-color: #f52c49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f52c49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(245, 44, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 44, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f52c49; background: linear-gradient(135deg, #f52c49, #F5952C);