#f2bab8
a light, vivid red · warm · closest name: pink
RGB
242, 186, 184
HSL
2°, 69%, 84%
CMYK
0, 23, 24, 5
Luminance
0.5746
Every format
| HEX | #f2bab8 |
| RGB | rgb(242, 186, 184) |
| HSL | hsl(2, 69%, 84%) |
| CMYK | cmyk(0%, 23%, 24%, 5%) |
| LAB | lab(80.4 19.9 8.8) |
| LCH | lch(80.4 21.8 23.9) |
| OKLCH | oklch(0.839 0.065 20.9) |
Copy-ready code
/* CSS */
color: #f2bab8;
background-color: #f2bab8;
/* Tailwind (arbitrary) */
class="text-[#f2bab8] bg-[#f2bab8]"
/* SCSS */
$brand: #f2bab8;
/* SwiftUI */
Color(red: 0.949, green: 0.729, blue: 0.722)
/* Android */
Color.parseColor("#f2bab8")Accessibility — WCAG contrast
Aa
#f2bab8 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2bab8 on black: 12.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green72.9%
Blue72.2%
CMYK percentages
Cyan0.0%
Magenta23.1%
Yellow24.0%
Key (black)5.1%
Color previews
#f2bab8 text on a black background
contrast 12.49:1
Card sample
#f2bab8 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2bab8;
Background color
Panel with #f2bab8 background
background-color: #f2bab8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2bab8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 186, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 186, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2bab8; background: linear-gradient(135deg, #f2bab8, #F2E1B8);