Skip to content

#f0acce

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

RGB
240, 172, 206
HSL
330°, 69%, 81%
CMYK
0, 28, 14, 6
Luminance
0.5249

Every format

HEX#f0acce
RGBrgb(240, 172, 206)
HSLhsl(330, 69%, 81%)
CMYKcmyk(0%, 28%, 14%, 6%)
LABlab(77.6 29.9 -7.3)
LCHlch(77.6 30.8 346.3)
OKLCHoklch(0.818 0.090 347.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0acce on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#f0acce on black: 11.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green67.5%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow14.2%
Key (black)5.9%

Color previews

#f0acce text on a black background

contrast 11.50:1

Card sample

#f0acce text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0acce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0acce in the Color Lab