Skip to content

#f9f2f1

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

RGB
249, 242, 241
HSL
8°, 40%, 96%
CMYK
0, 3, 3, 2
Luminance
0.8999

Every format

HEX#f9f2f1
RGBrgb(249, 242, 241)
HSLhsl(8, 40%, 96%)
CMYKcmyk(0%, 3%, 3%, 2%)
LABlab(96.0 2.2 1.3)
LCHlch(96.0 2.5 31.1)
OKLCHoklch(0.966 0.008 27.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9f2f1 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f9f2f1 on black: 19.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green94.9%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow3.2%
Key (black)2.4%

Color previews

#f9f2f1 text on a black background

contrast 19.00:1

Card sample

#f9f2f1 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9f2f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9f2f1 in the Color Lab