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