Skip to content

#f8e2db

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

RGB
248, 226, 219
HSL
15°, 67%, 92%
CMYK
0, 9, 12, 3
Luminance
0.7946

Every format

HEX#f8e2db
RGBrgb(248, 226, 219)
HSLhsl(15, 67%, 92%)
CMYKcmyk(0%, 9%, 12%, 3%)
LABlab(91.4 6.4 6.1)
LCHlch(91.4 8.8 43.9)
OKLCHoklch(0.929 0.026 38.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.3%
Green88.6%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta8.9%
Yellow11.7%
Key (black)2.7%

Color previews

#f8e2db text on a black background

contrast 16.89:1

Card sample

#f8e2db text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8e2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8e2db in the Color Lab