Skip to content

#fbaef4

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

RGB
251, 174, 244
HSL
306°, 91%, 83%
CMYK
0, 31, 3, 2
Luminance
0.5731

Every format

HEX#fbaef4
RGBrgb(251, 174, 244)
HSLhsl(306, 91%, 83%)
CMYKcmyk(0%, 31%, 3%, 2%)
LABlab(80.4 38.9 -23.6)
LCHlch(80.4 45.5 328.8)
OKLCHoklch(0.846 0.126 329.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbaef4 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#fbaef4 on black: 12.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green68.2%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta30.7%
Yellow2.8%
Key (black)1.6%

Color previews

#fbaef4 text on a black background

contrast 12.46:1

Card sample

#fbaef4 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbaef4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbaef4 in the Color Lab