Skip to content

#fbf2f2

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

RGB
251, 242, 242
HSL
0°, 53%, 97%
CMYK
0, 4, 4, 2
Luminance
0.9042

Every format

HEX#fbf2f2
RGBrgb(251, 242, 242)
HSLhsl(0, 53%, 97%)
CMYKcmyk(0%, 4%, 4%, 2%)
LABlab(96.2 3.0 1.1)
LCHlch(96.2 3.2 19.6)
OKLCHoklch(0.968 0.010 17.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fbf2f2 text on a black background

contrast 19.08:1

Card sample

#fbf2f2 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2f2 in the Color Lab