Skip to content

#f5abc9

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

RGB
245, 171, 201
HSL
336°, 79%, 82%
CMYK
0, 30, 18, 4
Luminance
0.5276

Every format

HEX#f5abc9
RGBrgb(245, 171, 201)
HSLhsl(336, 79%, 82%)
CMYKcmyk(0%, 30%, 18%, 4%)
LABlab(77.7 31.4 -4.3)
LCHlch(77.7 31.7 352.3)
OKLCHoklch(0.820 0.094 353.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5abc9 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#f5abc9 on black: 11.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green67.1%
Blue78.8%

CMYK percentages

Cyan0.0%
Magenta30.2%
Yellow18.0%
Key (black)3.9%

Color previews

#f5abc9 text on a black background

contrast 11.55:1

Card sample

#f5abc9 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5abc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5abc9 in the Color Lab