Skip to content

#fba8f3

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

RGB
251, 168, 243
HSL
306°, 91%, 82%
CMYK
0, 33, 3, 2
Luminance
0.5499

Every format

HEX#fba8f3
RGBrgb(251, 168, 243)
HSLhsl(306, 91%, 82%)
CMYKcmyk(0%, 33%, 3%, 2%)
LABlab(79.0 41.8 -25.0)
LCHlch(79.0 48.7 329.1)
OKLCHoklch(0.836 0.136 330.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba8f3 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#fba8f3 on black: 12.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green65.9%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta33.1%
Yellow3.2%
Key (black)1.6%

Color previews

#fba8f3 text on a black background

contrast 12.00:1

Card sample

#fba8f3 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba8f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba8f3 in the Color Lab