#f08049
a balanced, electric orange · warm · closest name: coral
RGB
240, 128, 73
HSL
20°, 85%, 61%
CMYK
0, 47, 70, 6
Luminance
0.3444
Every format
| HEX | #f08049 |
| RGB | rgb(240, 128, 73) |
| HSL | hsl(20, 85%, 61%) |
| CMYK | cmyk(0%, 47%, 70%, 6%) |
| LAB | lab(65.3 38.8 48.2) |
| LCH | lch(65.3 61.9 51.2) |
| OKLCH | oklch(0.716 0.154 45.3) |
Copy-ready code
/* CSS */
color: #f08049;
background-color: #f08049;
/* Tailwind (arbitrary) */
class="text-[#f08049] bg-[#f08049]"
/* SCSS */
$brand: #f08049;
/* SwiftUI */
Color(red: 0.941, green: 0.502, blue: 0.286)
/* Android */
Color.parseColor("#f08049")Accessibility — WCAG contrast
Aa
#f08049 on white: 2.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f08049 on black: 7.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green50.2%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta46.7%
Yellow69.6%
Key (black)5.9%
Color previews
#f08049 text on a black background
contrast 7.89:1
Card sample
#f08049 text on a white background
contrast 2.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f08049;
Background color
Panel with #f08049 background
background-color: #f08049;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f08049;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 128, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 128, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f08049; background: linear-gradient(135deg, #f08049, #F0EF49);