Skip to content

#f5abc5

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

RGB
245, 171, 197
HSL
339°, 79%, 82%
CMYK
0, 30, 20, 4
Luminance
0.5257

Every format

HEX#f5abc5
RGBrgb(245, 171, 197)
HSLhsl(339, 79%, 82%)
CMYKcmyk(0%, 30%, 20%, 4%)
LABlab(77.6 30.8 -2.3)
LCHlch(77.6 30.9 355.8)
OKLCHoklch(0.819 0.092 356.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green67.1%
Blue77.3%

CMYK percentages

Cyan0.0%
Magenta30.2%
Yellow19.6%
Key (black)3.9%

Color previews

#f5abc5 text on a black background

contrast 11.51:1

Card sample

#f5abc5 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5abc5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5abc5 in the Color Lab