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