Skip to content

#f0a2ac

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

RGB
240, 162, 172
HSL
352°, 72%, 79%
CMYK
0, 33, 28, 6
Luminance
0.4734

Every format

HEX#f0a2ac
RGBrgb(240, 162, 172)
HSLhsl(352, 72%, 79%)
CMYKcmyk(0%, 33%, 28%, 6%)
LABlab(74.4 30.2 6.7)
LCHlch(74.4 30.9 12.5)
OKLCHoklch(0.791 0.093 11.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0a2ac on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#f0a2ac on black: 10.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green63.5%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow28.3%
Key (black)5.9%

Color previews

#f0a2ac text on a black background

contrast 10.47:1

Card sample

#f0a2ac text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0a2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0a2ac in the Color Lab