#f4afab
a light, electric red · warm · closest name: pink
RGB
244, 175, 171
HSL
3°, 77%, 81%
CMYK
0, 28, 30, 4
Luminance
0.5283
Every format
| HEX | #f4afab |
| RGB | rgb(244, 175, 171) |
| HSL | hsl(3, 77%, 81%) |
| CMYK | cmyk(0%, 28%, 30%, 4%) |
| LAB | lab(77.8 24.7 12.1) |
| LCH | lch(77.8 27.5 26.1) |
| OKLCH | oklch(0.818 0.082 22.7) |
Copy-ready code
/* CSS */
color: #f4afab;
background-color: #f4afab;
/* Tailwind (arbitrary) */
class="text-[#f4afab] bg-[#f4afab]"
/* SCSS */
$brand: #f4afab;
/* SwiftUI */
Color(red: 0.957, green: 0.686, blue: 0.671)
/* Android */
Color.parseColor("#f4afab")Accessibility — WCAG contrast
Aa
#f4afab on white: 1.82:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4afab on black: 11.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green68.6%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta28.3%
Yellow29.9%
Key (black)4.3%
Color previews
#f4afab text on a black background
contrast 11.57:1
Card sample
#f4afab text on a white background
contrast 1.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4afab;
Background color
Panel with #f4afab background
background-color: #f4afab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4afab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 175, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 175, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4afab; background: linear-gradient(135deg, #f4afab, #F4E0AB);