Skip to content

#fbf2f1

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

RGB
251, 242, 241
HSL
6°, 56%, 97%
CMYK
0, 4, 4, 2
Luminance
0.9036

Every format

HEX#fbf2f1
RGBrgb(251, 242, 241)
HSLhsl(6, 56%, 97%)
CMYKcmyk(0%, 4%, 4%, 2%)
LABlab(96.2 2.8 1.6)
LCHlch(96.2 3.2 28.6)
OKLCHoklch(0.968 0.010 25.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.4%
Green94.9%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow4.0%
Key (black)1.6%

Color previews

#fbf2f1 text on a black background

contrast 19.07:1

Card sample

#fbf2f1 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2f1 in the Color Lab