#f50c13
a balanced, electric red · warm · closest name: red
RGB
245, 12, 19
HSL
358°, 92%, 50%
CMYK
0, 95, 92, 4
Luminance
0.1972
Every format
| HEX | #f50c13 |
| RGB | rgb(245, 12, 19) |
| HSL | hsl(358, 92%, 50%) |
| CMYK | cmyk(0%, 95%, 92%, 4%) |
| LAB | lab(51.5 77.0 60.1) |
| LCH | lch(51.5 97.7 38.0) |
| OKLCH | oklch(0.612 0.247 28.4) |
Copy-ready code
/* CSS */
color: #f50c13;
background-color: #f50c13;
/* Tailwind (arbitrary) */
class="text-[#f50c13] bg-[#f50c13]"
/* SCSS */
$brand: #f50c13;
/* SwiftUI */
Color(red: 0.961, green: 0.047, blue: 0.075)
/* Android */
Color.parseColor("#f50c13")Accessibility — WCAG contrast
Aa
#f50c13 on white: 4.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f50c13 on black: 4.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.1%
Green4.7%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta95.1%
Yellow92.2%
Key (black)3.9%
Color previews
#f50c13 text on a black background
contrast 4.94:1
Card sample
#f50c13 text on a white background
contrast 4.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f50c13;
Background color
Panel with #f50c13 background
background-color: #f50c13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f50c13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(245, 12, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 12, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f50c13; background: linear-gradient(135deg, #f50c13, #F5A00C);