Skip to content

#f7abc8

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

RGB
247, 171, 200
HSL
337°, 83%, 82%
CMYK
0, 31, 19, 3
Luminance
0.5307

Every format

HEX#f7abc8
RGBrgb(247, 171, 200)
HSLhsl(337, 83%, 82%)
CMYKcmyk(0%, 31%, 19%, 3%)
LABlab(77.9 31.9 -3.4)
LCHlch(77.9 32.1 353.9)
OKLCHoklch(0.822 0.096 354.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7abc8 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#f7abc8 on black: 11.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta30.8%
Yellow19.0%
Key (black)3.1%

Color previews

#f7abc8 text on a black background

contrast 11.61:1

Card sample

#f7abc8 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7abc8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7abc8 in the Color Lab