#ffafb8
a light, electric red · warm · closest name: pink
RGB
255, 175, 184
HSL
353°, 100%, 84%
CMYK
0, 31, 28, 0
Luminance
0.5538
Every format
| HEX | #ffafb8 |
| RGB | rgb(255, 175, 184) |
| HSL | hsl(353, 100%, 84%) |
| CMYK | cmyk(0%, 31%, 28%, 0%) |
| LAB | lab(79.3 30.4 7.3) |
| LCH | lch(79.3 31.3 13.5) |
| OKLCH | oklch(0.833 0.094 11.9) |
Copy-ready code
/* CSS */
color: #ffafb8;
background-color: #ffafb8;
/* Tailwind (arbitrary) */
class="text-[#ffafb8] bg-[#ffafb8]"
/* SCSS */
$brand: #ffafb8;
/* SwiftUI */
Color(red: 1.000, green: 0.686, blue: 0.722)
/* Android */
Color.parseColor("#ffafb8")Accessibility — WCAG contrast
Aa
#ffafb8 on white: 1.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffafb8 on black: 12.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green68.6%
Blue72.2%
CMYK percentages
Cyan0.0%
Magenta31.4%
Yellow27.8%
Key (black)0.0%
Color previews
#ffafb8 text on a black background
contrast 12.08:1
Card sample
#ffafb8 text on a white background
contrast 1.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffafb8;
Background color
Panel with #ffafb8 background
background-color: #ffafb8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffafb8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 175, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 175, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffafb8; background: linear-gradient(135deg, #ffafb8, #FFDBAF);