Skip to content

#fbf2fc

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

RGB
251, 242, 252
HSL
294°, 63%, 97%
CMYK
0, 4, 0, 1
Luminance
0.9104

Every format

HEX#fbf2fc
RGBrgb(251, 242, 252)
HSLhsl(294, 63%, 97%)
CMYKcmyk(0%, 4%, 0%, 1%)
LABlab(96.4 4.8 -3.7)
LCHlch(96.4 6.0 321.9)
OKLCHoklch(0.971 0.016 322.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbf2fc on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fbf2fc on black: 19.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green94.9%
Blue98.8%

CMYK percentages

Cyan0.4%
Magenta4.0%
Yellow0.0%
Key (black)1.2%

Color previews

#fbf2fc text on a black background

contrast 19.21:1

Card sample

#fbf2fc text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2fc in the Color Lab