Skip to content

#e4dfdf

a pale, muted red · warm · closest name: lavender

RGB
228, 223, 223
HSL
0°, 9%, 88%
CMYK
0, 2, 2, 11
Luminance
0.7460

Every format

HEX#e4dfdf
RGBrgb(228, 223, 223)
HSLhsl(0, 9%, 88%)
CMYKcmyk(0%, 2%, 2%, 11%)
LABlab(89.2 1.7 0.6)
LCHlch(89.2 1.8 19.5)
OKLCHoklch(0.908 0.005 17.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4dfdf on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#e4dfdf on black: 15.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green87.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow2.2%
Key (black)10.6%

Color previews

#e4dfdf text on a black background

contrast 15.92:1

Card sample

#e4dfdf text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4dfdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4dfdf in the Color Lab