#f08068
a light, electric red · warm · closest name: salmon
RGB
240, 128, 104
HSL
11°, 82%, 68%
CMYK
0, 47, 57, 6
Luminance
0.3496
Every format
| HEX | #f08068 |
| RGB | rgb(240, 128, 104) |
| HSL | hsl(11, 82%, 68%) |
| CMYK | cmyk(0%, 47%, 57%, 6%) |
| LAB | lab(65.7 40.8 32.3) |
| LCH | lch(65.7 52.0 38.4) |
| OKLCH | oklch(0.720 0.143 33.3) |
Copy-ready code
/* CSS */
color: #f08068;
background-color: #f08068;
/* Tailwind (arbitrary) */
class="text-[#f08068] bg-[#f08068]"
/* SCSS */
$brand: #f08068;
/* SwiftUI */
Color(red: 0.941, green: 0.502, blue: 0.408)
/* Android */
Color.parseColor("#f08068")Accessibility — WCAG contrast
Aa
#f08068 on white: 2.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f08068 on black: 7.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green50.2%
Blue40.8%
CMYK percentages
Cyan0.0%
Magenta46.7%
Yellow56.7%
Key (black)5.9%
Color previews
#f08068 text on a black background
contrast 7.99:1
Card sample
#f08068 text on a white background
contrast 2.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f08068;
Background color
Panel with #f08068 background
background-color: #f08068;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f08068;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 128, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 128, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f08068; background: linear-gradient(135deg, #f08068, #F0DB68);