#fef9fa
a pale, vivid red · warm · “white”
RGB
254, 249, 250
HSL
348°, 71%, 99%
CMYK
0, 2, 2, 0
Luminance
0.9572
Every format
| HEX | #fef9fa |
| RGB | rgb(254, 249, 250) |
| HSL | hsl(348, 71%, 99%) |
| CMYK | cmyk(0%, 2%, 2%, 0%) |
| LAB | lab(98.3 1.8 0.1) |
| LCH | lch(98.3 1.8 3.4) |
| OKLCH | oklch(0.986 0.005 3.3) |
Copy-ready code
/* CSS */
color: #fef9fa;
background-color: #fef9fa;
/* Tailwind (arbitrary) */
class="text-[#fef9fa] bg-[#fef9fa]"
/* SCSS */
$brand: #fef9fa;
/* SwiftUI */
Color(red: 0.996, green: 0.976, blue: 0.980)
/* Android */
Color.parseColor("#fef9fa")Accessibility — WCAG contrast
Aa
#fef9fa on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fef9fa on black: 20.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.6%
Green97.6%
Blue98.0%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow1.6%
Key (black)0.4%
Color previews
#fef9fa text on a black background
contrast 20.14:1
Card sample
#fef9fa text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fef9fa;
Background color
Panel with #fef9fa background
background-color: #fef9fa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fef9fa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(254, 249, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 249, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fef9fa; background: linear-gradient(135deg, #fef9fa, #FEFBF9);