Skip to content

#f5bab8

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

RGB
245, 186, 184
HSL
2°, 75%, 84%
CMYK
0, 24, 25, 4
Luminance
0.5799

Every format

HEX#f5bab8
RGBrgb(245, 186, 184)
HSLhsl(2, 75%, 84%)
CMYKcmyk(0%, 24%, 25%, 4%)
LABlab(80.7 21.0 9.3)
LCHlch(80.7 22.9 23.9)
OKLCHoklch(0.842 0.069 20.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5bab8 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#f5bab8 on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green72.9%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta24.1%
Yellow24.9%
Key (black)3.9%

Color previews

#f5bab8 text on a black background

contrast 12.60:1

Card sample

#f5bab8 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5bab8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5bab8 in the Color Lab