#f2fafa
a pale, soft cyan · cool · closest name: white
RGB
242, 250, 250
HSL
180°, 44%, 97%
CMYK
3, 0, 0, 2
Luminance
0.9415
Every format
| HEX | #f2fafa |
| RGB | rgb(242, 250, 250) |
| HSL | hsl(180, 44%, 97%) |
| CMYK | cmyk(3%, 0%, 0%, 2%) |
| LAB | lab(97.7 -2.6 -0.9) |
| LCH | lch(97.7 2.8 199.3) |
| OKLCH | oklch(0.979 0.009 197.0) |
Copy-ready code
/* CSS */
color: #f2fafa;
background-color: #f2fafa;
/* Tailwind (arbitrary) */
class="text-[#f2fafa] bg-[#f2fafa]"
/* SCSS */
$brand: #f2fafa;
/* SwiftUI */
Color(red: 0.949, green: 0.980, blue: 0.980)
/* Android */
Color.parseColor("#f2fafa")Accessibility — WCAG contrast
Aa
#f2fafa on white: 1.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2fafa on black: 19.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green98.0%
Blue98.0%
CMYK percentages
Cyan3.2%
Magenta0.0%
Yellow0.0%
Key (black)2.0%
Color previews
#f2fafa text on a black background
contrast 19.83:1
Card sample
#f2fafa text on a white background
contrast 1.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2fafa;
Background color
Panel with #f2fafa background
background-color: #f2fafa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2fafa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 250, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 250, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2fafa; background: linear-gradient(135deg, #f2fafa, #F2F5FA);