#f0bab2
a light, vivid red · warm · closest name: pink
RGB
240, 186, 178
HSL
8°, 67%, 82%
CMYK
0, 23, 26, 6
Luminance
0.5686
Every format
| HEX | #f0bab2 |
| RGB | rgb(240, 186, 178) |
| HSL | hsl(8, 67%, 82%) |
| CMYK | cmyk(0%, 23%, 26%, 6%) |
| LAB | lab(80.1 18.3 11.6) |
| LCH | lch(80.1 21.6 32.2) |
| OKLCH | oklch(0.835 0.064 28.2) |
Copy-ready code
/* CSS */
color: #f0bab2;
background-color: #f0bab2;
/* Tailwind (arbitrary) */
class="text-[#f0bab2] bg-[#f0bab2]"
/* SCSS */
$brand: #f0bab2;
/* SwiftUI */
Color(red: 0.941, green: 0.729, blue: 0.698)
/* Android */
Color.parseColor("#f0bab2")Accessibility — WCAG contrast
Aa
#f0bab2 on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0bab2 on black: 12.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green72.9%
Blue69.8%
CMYK percentages
Cyan0.0%
Magenta22.5%
Yellow25.8%
Key (black)5.9%
Color previews
#f0bab2 text on a black background
contrast 12.37:1
Card sample
#f0bab2 text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0bab2;
Background color
Panel with #f0bab2 background
background-color: #f0bab2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0bab2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 186, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 186, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0bab2; background: linear-gradient(135deg, #f0bab2, #F0E3B2);