Skip to content

#f8e2df

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

RGB
248, 226, 223
HSL
7°, 64%, 92%
CMYK
0, 9, 10, 3
Luminance
0.7968

Every format

HEX#f8e2df
RGBrgb(248, 226, 223)
HSLhsl(7, 64%, 92%)
CMYKcmyk(0%, 9%, 10%, 3%)
LABlab(91.5 7.0 4.2)
LCHlch(91.5 8.2 30.8)
OKLCHoklch(0.930 0.025 26.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f8e2df on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#f8e2df on black: 16.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green88.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta8.9%
Yellow10.1%
Key (black)2.7%

Color previews

#f8e2df text on a black background

contrast 16.94:1

Card sample

#f8e2df text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8e2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8e2df in the Color Lab