Skip to content

#f97bab

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

RGB
249, 123, 171
HSL
337°, 91%, 73%
CMYK
0, 51, 31, 2
Luminance
0.3725

Every format

HEX#f97bab
RGBrgb(249, 123, 171)
HSLhsl(337, 91%, 73%)
CMYKcmyk(0%, 51%, 31%, 2%)
LABlab(67.5 53.1 -2.7)
LCHlch(67.5 53.1 357.1)
OKLCHoklch(0.741 0.161 357.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f97bab on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#f97bab on black: 8.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green48.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta50.6%
Yellow31.3%
Key (black)2.4%

Color previews

#f97bab text on a black background

contrast 8.45:1

Card sample

#f97bab text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(249, 123, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 123, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f97bab;
background: linear-gradient(135deg, #f97bab, #F99F7B);

Monochromatic scale

Palettes built from #f97bab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f97bab in the Color Lab