Skip to content

#f0acac

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

RGB
240, 172, 172
HSL
0°, 69%, 81%
CMYK
0, 28, 28, 6
Luminance
0.5101

Every format

HEX#f0acac
RGBrgb(240, 172, 172)
HSLhsl(0, 69%, 81%)
CMYKcmyk(0%, 28%, 28%, 6%)
LABlab(76.7 24.9 9.9)
LCHlch(76.7 26.8 21.7)
OKLCHoklch(0.808 0.080 19.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#f0acac text on a black background

contrast 11.20:1

Card sample

#f0acac text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0acac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0acac in the Color Lab