Skip to content

#f0e3df

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

RGB
240, 227, 223
HSL
14°, 36%, 91%
CMYK
0, 5, 7, 6
Luminance
0.7879

Every format

HEX#f0e3df
RGBrgb(240, 227, 223)
HSLhsl(14, 36%, 91%)
CMYKcmyk(0%, 5%, 7%, 6%)
LABlab(91.1 3.7 3.5)
LCHlch(91.1 5.1 43.3)
OKLCHoklch(0.925 0.015 37.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0e3df on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#f0e3df on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green89.0%
Blue87.5%

CMYK percentages

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

Color previews

#f0e3df text on a black background

contrast 16.76:1

Card sample

#f0e3df text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0e3df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0e3df in the Color Lab