#f0abc8
a light, vivid magenta / pink · warm · closest name: pink
RGB
240, 171, 200
HSL
335°, 70%, 81%
CMYK
0, 29, 17, 6
Luminance
0.5182
Every format
| HEX | #f0abc8 |
| RGB | rgb(240, 171, 200) |
| HSL | hsl(335, 70%, 81%) |
| CMYK | cmyk(0%, 29%, 17%, 6%) |
| LAB | lab(77.2 29.5 -4.6) |
| LCH | lch(77.2 29.9 351.1) |
| OKLCH | oklch(0.815 0.088 352.3) |
Copy-ready code
/* CSS */
color: #f0abc8;
background-color: #f0abc8;
/* Tailwind (arbitrary) */
class="text-[#f0abc8] bg-[#f0abc8]"
/* SCSS */
$brand: #f0abc8;
/* SwiftUI */
Color(red: 0.941, green: 0.671, blue: 0.784)
/* Android */
Color.parseColor("#f0abc8")Accessibility — WCAG contrast
Aa
#f0abc8 on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0abc8 on black: 11.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green67.1%
Blue78.4%
CMYK percentages
Cyan0.0%
Magenta28.8%
Yellow16.7%
Key (black)5.9%
Color previews
#f0abc8 text on a black background
contrast 11.36:1
Card sample
#f0abc8 text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0abc8;
Background color
Panel with #f0abc8 background
background-color: #f0abc8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0abc8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 171, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 171, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0abc8; background: linear-gradient(135deg, #f0abc8, #F0BCAB);