Skip to content

#ffabb2

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

RGB
255, 171, 178
HSL
355°, 100%, 84%
CMYK
0, 33, 30, 0
Luminance
0.5360

Every format

HEX#ffabb2
RGBrgb(255, 171, 178)
HSLhsl(355, 100%, 84%)
CMYKcmyk(0%, 33%, 30%, 0%)
LABlab(78.2 31.7 9.1)
LCHlch(78.2 33.0 16.0)
OKLCHoklch(0.825 0.099 14.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffabb2 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#ffabb2 on black: 11.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.1%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta32.9%
Yellow30.2%
Key (black)0.0%

Color previews

#ffabb2 text on a black background

contrast 11.72:1

Card sample

#ffabb2 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffabb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffabb2 in the Color Lab