Skip to content

#e0e0e0

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

RGB
224, 224, 224
HSL
0°, 0%, 88%
CMYK
0, 0, 0, 12
Luminance
0.7454

Every format

HEX#e0e0e0
RGBrgb(224, 224, 224)
HSLhsl(0, 0%, 88%)
CMYKcmyk(0%, 0%, 0%, 12%)
LABlab(89.2 0.0 0.0)
LCHlch(89.2 0.0 180.0)
OKLCHoklch(0.907 0.000 89.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.8%
Green87.8%
Blue87.8%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)12.2%

Color previews

#e0e0e0 text on a black background

contrast 15.91:1

Card sample

#e0e0e0 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e0e0e0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e0e0e0 in the Color Lab