Skip to content

#f5abc8

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

RGB
245, 171, 200
HSL
337°, 79%, 82%
CMYK
0, 30, 18, 4
Luminance
0.5271

Every format

HEX#f5abc8
RGBrgb(245, 171, 200)
HSLhsl(337, 79%, 82%)
CMYKcmyk(0%, 30%, 18%, 4%)
LABlab(77.7 31.2 -3.8)
LCHlch(77.7 31.5 353.1)
OKLCHoklch(0.820 0.094 354.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green67.1%
Blue78.4%

CMYK percentages

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

Color previews

#f5abc8 text on a black background

contrast 11.54:1

Card sample

#f5abc8 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5abc8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5abc8 in the Color Lab