Skip to content

#f0acaf

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

RGB
240, 172, 175
HSL
357°, 69%, 81%
CMYK
0, 28, 27, 6
Luminance
0.5113

Every format

HEX#f0acaf
RGBrgb(240, 172, 175)
HSLhsl(357, 69%, 81%)
CMYKcmyk(0%, 28%, 27%, 6%)
LABlab(76.8 25.3 8.4)
LCHlch(76.8 26.7 18.4)
OKLCHoklch(0.809 0.080 16.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0acaf on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#f0acaf on black: 11.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green67.5%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow27.1%
Key (black)5.9%

Color previews

#f0acaf text on a black background

contrast 11.23:1

Card sample

#f0acaf text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0acaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0acaf in the Color Lab