Skip to content

#fbaffb

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

RGB
251, 175, 251
HSL
300°, 91%, 84%
CMYK
0, 30, 0, 2
Luminance
0.5813

Every format

HEX#fbaffb
RGBrgb(251, 175, 251)
HSLhsl(300, 91%, 84%)
CMYKcmyk(0%, 30%, 0%, 2%)
LABlab(80.8 39.6 -26.6)
LCHlch(80.8 47.7 326.1)
OKLCHoklch(0.850 0.131 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbaffb on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#fbaffb on black: 12.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green68.6%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta30.3%
Yellow0.0%
Key (black)1.6%

Color previews

#fbaffb text on a black background

contrast 12.63:1

Card sample

#fbaffb text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbaffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbaffb in the Color Lab