#ffafab
a light, electric red · warm · closest name: pink
RGB
255, 175, 171
HSL
3°, 100%, 84%
CMYK
0, 31, 33, 0
Luminance
0.5486
Every format
| HEX | #ffafab |
| RGB | rgb(255, 175, 171) |
| HSL | hsl(3, 100%, 84%) |
| CMYK | cmyk(0%, 31%, 33%, 0%) |
| LAB | lab(79.0 28.7 13.9) |
| LCH | lch(79.0 31.9 25.9) |
| OKLCH | oklch(0.830 0.095 22.5) |
Copy-ready code
/* CSS */
color: #ffafab;
background-color: #ffafab;
/* Tailwind (arbitrary) */
class="text-[#ffafab] bg-[#ffafab]"
/* SCSS */
$brand: #ffafab;
/* SwiftUI */
Color(red: 1.000, green: 0.686, blue: 0.671)
/* Android */
Color.parseColor("#ffafab")Accessibility — WCAG contrast
Aa
#ffafab on white: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffafab on black: 11.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green68.6%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta31.4%
Yellow32.9%
Key (black)0.0%
Color previews
#ffafab text on a black background
contrast 11.97:1
Card sample
#ffafab text on a white background
contrast 1.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffafab;
Background color
Panel with #ffafab background
background-color: #ffafab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffafab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 175, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 175, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffafab; background: linear-gradient(135deg, #ffafab, #FFE7AB);