Skip to content

#f9bab2

a light, electric red · warm · closest name: pink

RGB
249, 186, 178
HSL
7°, 86%, 84%
CMYK
0, 25, 29, 2
Luminance
0.5847

Every format

HEX#f9bab2
RGBrgb(249, 186, 178)
HSLhsl(7, 86%, 84%)
CMYKcmyk(0%, 25%, 29%, 2%)
LABlab(81.0 21.6 12.9)
LCHlch(81.0 25.2 30.9)
OKLCHoklch(0.844 0.074 27.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9bab2 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#f9bab2 on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green72.9%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta25.3%
Yellow28.5%
Key (black)2.4%

Color previews

#f9bab2 text on a black background

contrast 12.69:1

Card sample

#f9bab2 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9bab2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9bab2 in the Color Lab