Skip to content

#f8eeee

a pale, soft red · warm · closest name: white

RGB
248, 238, 238
HSL
0°, 42%, 95%
CMYK
0, 4, 4, 3
Luminance
0.8728

Every format

HEX#f8eeee
RGBrgb(248, 238, 238)
HSLhsl(0, 42%, 95%)
CMYKcmyk(0%, 4%, 4%, 3%)
LABlab(94.9 3.4 1.2)
LCHlch(94.9 3.6 19.7)
OKLCHoklch(0.957 0.011 17.3)

Copy-ready code

/* CSS */
color: #f8eeee;
background-color: #f8eeee;
/* Tailwind (arbitrary) */
class="text-[#f8eeee] bg-[#f8eeee]"
/* SCSS */
$brand: #f8eeee;
/* SwiftUI */
Color(red: 0.973, green: 0.933, blue: 0.933)
/* Android */
Color.parseColor("#f8eeee")

Accessibility — WCAG contrast

Aa
#f8eeee on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f8eeee on black: 18.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green93.3%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow4.0%
Key (black)2.7%

Color previews

#f8eeee text on a black background

contrast 18.46:1

Card sample

#f8eeee text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f8eeee;
Background color
Panel with #f8eeee background
background-color: #f8eeee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f8eeee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(248, 238, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 238, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f8eeee;
background: linear-gradient(135deg, #f8eeee, #F8F5EE);

Monochromatic scale

Palettes built from #f8eeee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8eeee in the Color Lab