#f06830
a balanced, electric orange · warm · closest name: coral
RGB
240, 104, 48
HSL
18°, 87%, 57%
CMYK
0, 57, 80, 6
Luminance
0.2864
Every format
| HEX | #f06830 |
| RGB | rgb(240, 104, 48) |
| HSL | hsl(18, 87%, 57%) |
| CMYK | cmyk(0%, 57%, 80%, 6%) |
| LAB | lab(60.5 49.5 55.1) |
| LCH | lch(60.5 74.1 48.1) |
| OKLCH | oklch(0.678 0.181 40.9) |
Copy-ready code
/* CSS */
color: #f06830;
background-color: #f06830;
/* Tailwind (arbitrary) */
class="text-[#f06830] bg-[#f06830]"
/* SCSS */
$brand: #f06830;
/* SwiftUI */
Color(red: 0.941, green: 0.408, blue: 0.188)
/* Android */
Color.parseColor("#f06830")Accessibility — WCAG contrast
Aa
#f06830 on white: 3.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#f06830 on black: 6.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green40.8%
Blue18.8%
CMYK percentages
Cyan0.0%
Magenta56.7%
Yellow80.0%
Key (black)5.9%
Color previews
#f06830 text on a black background
contrast 6.73:1
Card sample
#f06830 text on a white background
contrast 3.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f06830;
Background color
Panel with #f06830 background
background-color: #f06830;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f06830;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 104, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 104, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f06830; background: linear-gradient(135deg, #f06830, #F0E830);