#f0baba
a light, vivid red · warm · closest name: pink
RGB
240, 186, 186
HSL
0°, 64%, 84%
CMYK
0, 23, 23, 6
Luminance
0.5719
Every format
| HEX | #f0baba |
| RGB | rgb(240, 186, 186) |
| HSL | hsl(0, 64%, 84%) |
| CMYK | cmyk(0%, 23%, 23%, 6%) |
| LAB | lab(80.3 19.4 7.5) |
| LCH | lch(80.3 20.8 21.1) |
| OKLCH | oklch(0.838 0.063 18.5) |
Copy-ready code
/* CSS */
color: #f0baba;
background-color: #f0baba;
/* Tailwind (arbitrary) */
class="text-[#f0baba] bg-[#f0baba]"
/* SCSS */
$brand: #f0baba;
/* SwiftUI */
Color(red: 0.941, green: 0.729, blue: 0.729)
/* Android */
Color.parseColor("#f0baba")Accessibility — WCAG contrast
Aa
#f0baba on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0baba on black: 12.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green72.9%
Blue72.9%
CMYK percentages
Cyan0.0%
Magenta22.5%
Yellow22.5%
Key (black)5.9%
Color previews
#f0baba text on a black background
contrast 12.44:1
Card sample
#f0baba text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0baba;
Background color
Panel with #f0baba background
background-color: #f0baba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0baba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 186, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 186, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0baba; background: linear-gradient(135deg, #f0baba, #F0DEBA);