Skip to content

#fab2cc

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

RGB
250, 178, 204
HSL
338°, 88%, 84%
CMYK
0, 29, 18, 2
Luminance
0.5652

Every format

HEX#fab2cc
RGBrgb(250, 178, 204)
HSLhsl(338, 88%, 84%)
CMYKcmyk(0%, 29%, 18%, 2%)
LABlab(79.9 29.9 -2.6)
LCHlch(79.9 30.0 355.0)
OKLCHoklch(0.838 0.090 355.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fab2cc on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#fab2cc on black: 12.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green69.8%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta28.8%
Yellow18.4%
Key (black)2.0%

Color previews

#fab2cc text on a black background

contrast 12.30:1

Card sample

#fab2cc text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 178, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 178, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fab2cc;
background: linear-gradient(135deg, #fab2cc, #FAC8B2);

Monochromatic scale

Palettes built from #fab2cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fab2cc in the Color Lab