Skip to content

#f0abcb

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

RGB
240, 171, 203
HSL
332°, 70%, 81%
CMYK
0, 29, 15, 6
Luminance
0.5196

Every format

HEX#f0abcb
RGBrgb(240, 171, 203)
HSLhsl(332, 70%, 81%)
CMYKcmyk(0%, 29%, 15%, 6%)
LABlab(77.3 30.0 -6.1)
LCHlch(77.3 30.6 348.5)
OKLCHoklch(0.816 0.090 349.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green67.1%
Blue79.6%

CMYK percentages

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

Color previews

#f0abcb text on a black background

contrast 11.39:1

Card sample

#f0abcb text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0abcb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0abcb in the Color Lab