Skip to content

#f0e2df

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

RGB
240, 226, 223
HSL
11°, 36%, 91%
CMYK
0, 6, 7, 6
Luminance
0.7825

Every format

HEX#f0e2df
RGBrgb(240, 226, 223)
HSLhsl(11, 36%, 91%)
CMYKcmyk(0%, 6%, 7%, 6%)
LABlab(90.9 4.3 3.2)
LCHlch(90.9 5.3 36.7)
OKLCHoklch(0.923 0.016 32.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0e2df on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#f0e2df on black: 16.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green88.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta5.8%
Yellow7.1%
Key (black)5.9%

Color previews

#f0e2df text on a black background

contrast 16.65:1

Card sample

#f0e2df text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0e2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0e2df in the Color Lab