Skip to content

#f0abcc

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

RGB
240, 171, 204
HSL
331°, 70%, 81%
CMYK
0, 29, 15, 6
Luminance
0.5201

Every format

HEX#f0abcc
RGBrgb(240, 171, 204)
HSLhsl(331, 70%, 81%)
CMYKcmyk(0%, 29%, 15%, 6%)
LABlab(77.3 30.1 -6.6)
LCHlch(77.3 30.8 347.6)
OKLCHoklch(0.816 0.091 349.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0abcc on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#f0abcc on black: 11.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green67.1%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta28.8%
Yellow15.0%
Key (black)5.9%

Color previews

#f0abcc text on a black background

contrast 11.40:1

Card sample

#f0abcc text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0abcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0abcc in the Color Lab