#fafafa
a pale, muted near-white · warm · “white”
RGB
250, 250, 250
HSL
0°, 0%, 98%
CMYK
0, 0, 0, 2
Luminance
0.9560
Every format
| HEX | #fafafa |
| RGB | rgb(250, 250, 250) |
| HSL | hsl(0, 0%, 98%) |
| CMYK | cmyk(0%, 0%, 0%, 2%) |
| LAB | lab(98.3 0.0 0.0) |
| LCH | lch(98.3 0.0 180.0) |
| OKLCH | oklch(0.985 0.000 89.9) |
Copy-ready code
/* CSS */
color: #fafafa;
background-color: #fafafa;
/* Tailwind (arbitrary) */
class="text-[#fafafa] bg-[#fafafa]"
/* SCSS */
$brand: #fafafa;
/* SwiftUI */
Color(red: 0.980, green: 0.980, blue: 0.980)
/* Android */
Color.parseColor("#fafafa")Accessibility — WCAG contrast
Aa
#fafafa on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fafafa on black: 20.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green98.0%
Blue98.0%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)2.0%
Color previews
#fafafa text on a black background
contrast 20.12:1
Card sample
#fafafa text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fafafa;
Background color
Panel with #fafafa background
background-color: #fafafa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fafafa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 250, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 250, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fafafa; background: linear-gradient(135deg, #fafafa, #FAFAFA);