Skip to content

#fba3f8

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

RGB
251, 163, 248
HSL
302°, 92%, 81%
CMYK
0, 35, 1, 2
Luminance
0.5348

Every format

HEX#fba3f8
RGBrgb(251, 163, 248)
HSLhsl(302, 92%, 81%)
CMYKcmyk(0%, 35%, 1%, 2%)
LABlab(78.2 45.3 -29.1)
LCHlch(78.2 53.8 327.3)
OKLCHoklch(0.830 0.149 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba3f8 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#fba3f8 on black: 11.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green63.9%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta35.1%
Yellow1.2%
Key (black)1.6%

Color previews

#fba3f8 text on a black background

contrast 11.70:1

Card sample

#fba3f8 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba3f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba3f8 in the Color Lab