Skip to content

#fba4f2

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

RGB
251, 164, 242
HSL
306°, 92%, 81%
CMYK
0, 35, 4, 2
Luminance
0.5347

Every format

HEX#fba4f2
RGBrgb(251, 164, 242)
HSLhsl(306, 92%, 81%)
CMYKcmyk(0%, 35%, 4%, 2%)
LABlab(78.2 43.7 -25.8)
LCHlch(78.2 50.8 329.4)
OKLCHoklch(0.829 0.142 330.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.4%
Green64.3%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta34.7%
Yellow3.6%
Key (black)1.6%

Color previews

#fba4f2 text on a black background

contrast 11.69:1

Card sample

#fba4f2 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba4f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba4f2 in the Color Lab