Skip to content

#fab2f2

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

RGB
250, 178, 242
HSL
307°, 88%, 84%
CMYK
0, 29, 3, 2
Luminance
0.5858

Every format

HEX#fab2f2
RGBrgb(250, 178, 242)
HSLhsl(307, 88%, 84%)
CMYKcmyk(0%, 29%, 3%, 2%)
LABlab(81.1 36.1 -21.4)
LCHlch(81.1 42.0 329.3)
OKLCHoklch(0.851 0.117 330.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fab2f2 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#fab2f2 on black: 12.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green69.8%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta28.8%
Yellow3.2%
Key (black)2.0%

Color previews

#fab2f2 text on a black background

contrast 12.72:1

Card sample

#fab2f2 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fab2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fab2f2 in the Color Lab