#f2eeee
a pale, muted red · warm · closest name: white
RGB
242, 238, 238
HSL
0°, 13%, 94%
CMYK
0, 2, 2, 5
Luminance
0.8620
Every format
| HEX | #f2eeee |
| RGB | rgb(242, 238, 238) |
| HSL | hsl(0, 13%, 94%) |
| CMYK | cmyk(0%, 2%, 2%, 5%) |
| LAB | lab(94.4 1.3 0.5) |
| LCH | lch(94.4 1.4 19.3) |
| OKLCH | oklch(0.952 0.004 17.2) |
Copy-ready code
/* CSS */
color: #f2eeee;
background-color: #f2eeee;
/* Tailwind (arbitrary) */
class="text-[#f2eeee] bg-[#f2eeee]"
/* SCSS */
$brand: #f2eeee;
/* SwiftUI */
Color(red: 0.949, green: 0.933, blue: 0.933)
/* Android */
Color.parseColor("#f2eeee")Accessibility — WCAG contrast
Aa
#f2eeee on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2eeee on black: 18.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green93.3%
Blue93.3%
CMYK percentages
Cyan0.0%
Magenta1.7%
Yellow1.7%
Key (black)5.1%
Color previews
#f2eeee text on a black background
contrast 18.24:1
Card sample
#f2eeee text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2eeee;
Background color
Panel with #f2eeee background
background-color: #f2eeee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2eeee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 238, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 238, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2eeee; background: linear-gradient(135deg, #f2eeee, #F2F1EE);