Skip to content

#fef2e2

a pale, electric orange · warm · closest name: ivory

RGB
254, 242, 226
HSL
34°, 93%, 94%
CMYK
0, 5, 11, 0
Luminance
0.9007

Every format

HEX#fef2e2
RGBrgb(254, 242, 226)
HSLhsl(34, 93%, 94%)
CMYKcmyk(0%, 5%, 11%, 0%)
LABlab(96.0 1.4 9.2)
LCHlch(96.0 9.3 81.3)
OKLCHoklch(0.966 0.025 75.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef2e2 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fef2e2 on black: 19.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green94.9%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow11.0%
Key (black)0.4%

Color previews

#fef2e2 text on a black background

contrast 19.01:1

Card sample

#fef2e2 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef2e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef2e2 in the Color Lab