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