Skip to content

#fff2e2

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

RGB
255, 242, 226
HSL
33°, 100%, 94%
CMYK
0, 5, 11, 0
Luminance
0.9026

Every format

HEX#fff2e2
RGBrgb(255, 242, 226)
HSLhsl(33, 100%, 94%)
CMYKcmyk(0%, 5%, 11%, 0%)
LABlab(96.1 1.7 9.3)
LCHlch(96.1 9.4 79.4)
OKLCHoklch(0.967 0.025 73.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.9%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow11.4%
Key (black)0.0%

Color previews

#fff2e2 text on a black background

contrast 19.05:1

Card sample

#fff2e2 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2e2 in the Color Lab