Skip to content

#ffe2e2

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

RGB
255, 226, 226
HSL
0°, 100%, 94%
CMYK
0, 11, 11, 0
Luminance
0.8114

Every format

HEX#ffe2e2
RGBrgb(255, 226, 226)
HSLhsl(0, 100%, 94%)
CMYKcmyk(0%, 11%, 11%, 0%)
LABlab(92.2 9.9 3.6)
LCHlch(92.2 10.6 20.2)
OKLCHoklch(0.936 0.032 17.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe2e2 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#ffe2e2 on black: 17.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green88.6%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow11.4%
Key (black)0.0%

Color previews

#ffe2e2 text on a black background

contrast 17.23:1

Card sample

#ffe2e2 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe2e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe2e2 in the Color Lab