Skip to content

#fba2c5

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

RGB
251, 162, 197
HSL
336°, 92%, 81%
CMYK
0, 36, 22, 2
Luminance
0.5038

Every format

HEX#fba2c5
RGBrgb(251, 162, 197)
HSLhsl(336, 92%, 81%)
CMYKcmyk(0%, 36%, 22%, 2%)
LABlab(76.3 37.6 -4.1)
LCHlch(76.3 37.8 353.7)
OKLCHoklch(0.810 0.113 354.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba2c5 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#fba2c5 on black: 11.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green63.5%
Blue77.3%

CMYK percentages

Cyan0.0%
Magenta35.5%
Yellow21.5%
Key (black)1.6%

Color previews

#fba2c5 text on a black background

contrast 11.08:1

Card sample

#fba2c5 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba2c5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fba2c5 in the Color Lab