#f06b49
a balanced, electric red · warm · closest name: coral
RGB
240, 107, 73
HSL
12°, 85%, 61%
CMYK
0, 55, 70, 6
Luminance
0.2952
Every format
| HEX | #f06b49 |
| RGB | rgb(240, 107, 73) |
| HSL | hsl(12, 85%, 61%) |
| CMYK | cmyk(0%, 55%, 70%, 6%) |
| LAB | lab(61.2 49.1 43.6) |
| LCH | lch(61.2 65.7 41.6) |
| OKLCH | oklch(0.684 0.172 35.5) |
Copy-ready code
/* CSS */
color: #f06b49;
background-color: #f06b49;
/* Tailwind (arbitrary) */
class="text-[#f06b49] bg-[#f06b49]"
/* SCSS */
$brand: #f06b49;
/* SwiftUI */
Color(red: 0.941, green: 0.420, blue: 0.286)
/* Android */
Color.parseColor("#f06b49")Accessibility — WCAG contrast
Aa
#f06b49 on white: 3.04:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f06b49 on black: 6.90:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green42.0%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta55.4%
Yellow69.6%
Key (black)5.9%
Color previews
#f06b49 text on a black background
contrast 6.90:1
Card sample
#f06b49 text on a white background
contrast 3.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f06b49;
Background color
Panel with #f06b49 background
background-color: #f06b49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f06b49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 107, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 107, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f06b49; background: linear-gradient(135deg, #f06b49, #F0DA49);