Skip to content

#fba2d6

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

RGB
251, 162, 214
HSL
325°, 92%, 81%
CMYK
0, 36, 15, 2
Luminance
0.5120

Every format

HEX#fba2d6
RGBrgb(251, 162, 214)
HSLhsl(325, 92%, 81%)
CMYKcmyk(0%, 36%, 15%, 2%)
LABlab(76.8 40.1 -12.7)
LCHlch(76.8 42.1 342.5)
OKLCHoklch(0.816 0.123 344.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba2d6 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#fba2d6 on black: 11.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green63.5%
Blue83.9%

CMYK percentages

Cyan0.0%
Magenta35.5%
Yellow14.7%
Key (black)1.6%

Color previews

#fba2d6 text on a black background

contrast 11.24:1

Card sample

#fba2d6 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba2d6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba2d6 in the Color Lab