Skip to content

#fbf2f7

a pale, vivid magenta / pink · warm · closest name: white

RGB
251, 242, 247
HSL
327°, 53%, 97%
CMYK
0, 4, 2, 2
Luminance
0.9073

Every format

HEX#fbf2f7
RGBrgb(251, 242, 247)
HSLhsl(327, 53%, 97%)
CMYKcmyk(0%, 4%, 2%, 2%)
LABlab(96.3 3.9 -1.3)
LCHlch(96.3 4.1 341.0)
OKLCHoklch(0.970 0.012 342.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.4%
Green94.9%
Blue96.9%

CMYK percentages

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

Color previews

#fbf2f7 text on a black background

contrast 19.15:1

Card sample

#fbf2f7 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2f7 in the Color Lab