Skip to content

#fba2d1

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

RGB
251, 162, 209
HSL
328°, 92%, 81%
CMYK
0, 36, 17, 2
Luminance
0.5095

Every format

HEX#fba2d1
RGBrgb(251, 162, 209)
HSLhsl(328, 92%, 81%)
CMYKcmyk(0%, 36%, 17%, 2%)
LABlab(76.7 39.4 -10.2)
LCHlch(76.7 40.7 345.5)
OKLCHoklch(0.814 0.120 347.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba2d1 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#fba2d1 on black: 11.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green63.5%
Blue82.0%

CMYK percentages

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

Color previews

#fba2d1 text on a black background

contrast 11.19:1

Card sample

#fba2d1 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba2d1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba2d1 in the Color Lab