Skip to content

#fab2ab

a light, electric red · warm · closest name: pink

RGB
250, 178, 171
HSL
5°, 89%, 83%
CMYK
0, 29, 32, 2
Luminance
0.5511

Every format

HEX#fab2ab
RGBrgb(250, 178, 171)
HSLhsl(5, 89%, 83%)
CMYKcmyk(0%, 29%, 32%, 2%)
LABlab(79.1 25.3 14.1)
LCHlch(79.1 29.0 29.0)
OKLCHoklch(0.830 0.085 25.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fab2ab on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#fab2ab on black: 12.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green69.8%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta28.8%
Yellow31.6%
Key (black)2.0%

Color previews

#fab2ab text on a black background

contrast 12.02:1

Card sample

#fab2ab text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fab2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fab2ab in the Color Lab