#f03445
a balanced, electric red · warm · closest name: crimson
RGB
240, 52, 69
HSL
355°, 86%, 57%
CMYK
0, 78, 71, 6
Luminance
0.2141
Every format
| HEX | #f03445 |
| RGB | rgb(240, 52, 69) |
| HSL | hsl(355, 86%, 57%) |
| CMYK | cmyk(0%, 78%, 71%, 6%) |
| LAB | lab(53.4 70.0 36.8) |
| LCH | lch(53.4 79.0 27.7) |
| OKLCH | oklch(0.625 0.221 22.3) |
Copy-ready code
/* CSS */
color: #f03445;
background-color: #f03445;
/* Tailwind (arbitrary) */
class="text-[#f03445] bg-[#f03445]"
/* SCSS */
$brand: #f03445;
/* SwiftUI */
Color(red: 0.941, green: 0.204, blue: 0.271)
/* Android */
Color.parseColor("#f03445")Accessibility — WCAG contrast
Aa
#f03445 on white: 3.98:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f03445 on black: 5.28:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green20.4%
Blue27.1%
CMYK percentages
Cyan0.0%
Magenta78.3%
Yellow71.3%
Key (black)5.9%
Color previews
#f03445 text on a black background
contrast 5.28:1
Card sample
#f03445 text on a white background
contrast 3.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f03445;
Background color
Panel with #f03445 background
background-color: #f03445;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f03445;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 52, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 52, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f03445; background: linear-gradient(135deg, #f03445, #F0A134);