Skip to content

#f2efef

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

RGB
242, 239, 239
HSL
0°, 10%, 94%
CMYK
0, 1, 1, 5
Luminance
0.8684

Every format

HEX#f2efef
RGBrgb(242, 239, 239)
HSLhsl(0, 10%, 94%)
CMYKcmyk(0%, 1%, 1%, 5%)
LABlab(94.7 1.0 0.3)
LCHlch(94.7 1.1 19.3)
OKLCHoklch(0.954 0.003 17.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2efef on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f2efef on black: 18.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green93.7%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow1.2%
Key (black)5.1%

Color previews

#f2efef text on a black background

contrast 18.37:1

Card sample

#f2efef text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2efef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2efef in the Color Lab