Skip to content

#f7bab2

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

RGB
247, 186, 178
HSL
7°, 81%, 83%
CMYK
0, 25, 28, 3
Luminance
0.5811

Every format

HEX#f7bab2
RGBrgb(247, 186, 178)
HSLhsl(7, 81%, 83%)
CMYKcmyk(0%, 25%, 28%, 3%)
LABlab(80.8 20.9 12.6)
LCHlch(80.8 24.4 31.2)
OKLCHoklch(0.842 0.072 27.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7bab2 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#f7bab2 on black: 12.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green72.9%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta24.7%
Yellow27.9%
Key (black)3.1%

Color previews

#f7bab2 text on a black background

contrast 12.62:1

Card sample

#f7bab2 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7bab2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7bab2 in the Color Lab