#f08084
a light, electric red · warm · closest name: salmon
RGB
240, 128, 132
HSL
358°, 79%, 72%
CMYK
0, 47, 45, 6
Luminance
0.3563
Every format
| HEX | #f08084 |
| RGB | rgb(240, 128, 132) |
| HSL | hsl(358, 79%, 72%) |
| CMYK | cmyk(0%, 47%, 45%, 6%) |
| LAB | lab(66.2 43.2 17.4) |
| LCH | lch(66.2 46.6 22.0) |
| OKLCH | oklch(0.726 0.138 18.8) |
Copy-ready code
/* CSS */
color: #f08084;
background-color: #f08084;
/* Tailwind (arbitrary) */
class="text-[#f08084] bg-[#f08084]"
/* SCSS */
$brand: #f08084;
/* SwiftUI */
Color(red: 0.941, green: 0.502, blue: 0.518)
/* Android */
Color.parseColor("#f08084")Accessibility — WCAG contrast
Aa
#f08084 on white: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f08084 on black: 8.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green50.2%
Blue51.8%
CMYK percentages
Cyan0.0%
Magenta46.7%
Yellow45.0%
Key (black)5.9%
Color previews
#f08084 text on a black background
contrast 8.13:1
Card sample
#f08084 text on a white background
contrast 2.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f08084;
Background color
Panel with #f08084 background
background-color: #f08084;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f08084;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 128, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 128, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f08084; background: linear-gradient(135deg, #f08084, #F0C780);