Skip to content

#fff2ef

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

RGB
255, 242, 239
HSL
11°, 100%, 97%
CMYK
0, 5, 6, 0
Luminance
0.9100

Every format

HEX#fff2ef
RGBrgb(255, 242, 239)
HSLhsl(11, 100%, 97%)
CMYKcmyk(0%, 5%, 6%, 0%)
LABlab(96.4 3.9 3.0)
LCHlch(96.4 4.9 37.9)
OKLCHoklch(0.971 0.015 33.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff2ef on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fff2ef on black: 19.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.9%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow6.3%
Key (black)0.0%

Color previews

#fff2ef text on a black background

contrast 19.20:1

Card sample

#fff2ef text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2ef in the Color Lab