Skip to content

#f0abac

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

RGB
240, 171, 172
HSL
359°, 70%, 81%
CMYK
0, 29, 28, 6
Luminance
0.5063

Every format

HEX#f0abac
RGBrgb(240, 171, 172)
HSLhsl(359, 70%, 81%)
CMYKcmyk(0%, 29%, 28%, 6%)
LABlab(76.5 25.4 9.6)
LCHlch(76.5 27.2 20.7)
OKLCHoklch(0.807 0.082 18.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0abac on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#f0abac on black: 11.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green67.1%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta28.8%
Yellow28.3%
Key (black)5.9%

Color previews

#f0abac text on a black background

contrast 11.13:1

Card sample

#f0abac text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0abac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0abac in the Color Lab