Skip to content

#fbabfc

a light, electric magenta / pink · warm · closest name: plum

RGB
251, 171, 252
HSL
299°, 93%, 83%
CMYK
0, 32, 0, 1
Luminance
0.5666

Every format

HEX#fbabfc
RGBrgb(251, 171, 252)
HSLhsl(299, 93%, 83%)
CMYKcmyk(0%, 32%, 0%, 1%)
LABlab(80.0 41.9 -28.4)
LCHlch(80.0 50.6 325.8)
OKLCHoklch(0.844 0.139 326.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbabfc on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#fbabfc on black: 12.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green67.1%
Blue98.8%

CMYK percentages

Cyan0.4%
Magenta32.1%
Yellow0.0%
Key (black)1.2%

Color previews

#fbabfc text on a black background

contrast 12.33:1

Card sample

#fbabfc text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbabfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbabfc in the Color Lab