Skip to content

#fba8f0

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

RGB
251, 168, 240
HSL
308°, 91%, 82%
CMYK
0, 33, 4, 2
Luminance
0.5481

Every format

HEX#fba8f0
RGBrgb(251, 168, 240)
HSLhsl(308, 91%, 82%)
CMYKcmyk(0%, 33%, 4%, 2%)
LABlab(78.9 41.3 -23.6)
LCHlch(78.9 47.5 330.3)
OKLCHoklch(0.835 0.133 331.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba8f0 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#fba8f0 on black: 11.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green65.9%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta33.1%
Yellow4.4%
Key (black)1.6%

Color previews

#fba8f0 text on a black background

contrast 11.96:1

Card sample

#fba8f0 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba8f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba8f0 in the Color Lab