Skip to content

#f0baac

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

RGB
240, 186, 172
HSL
12°, 69%, 81%
CMYK
0, 23, 28, 6
Luminance
0.5662

Every format

HEX#f0baac
RGBrgb(240, 186, 172)
HSLhsl(12, 69%, 81%)
CMYKcmyk(0%, 23%, 28%, 6%)
LABlab(80.0 17.5 14.6)
LCHlch(80.0 22.8 39.8)
OKLCHoklch(0.834 0.066 35.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0baac on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#f0baac on black: 12.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green72.9%
Blue67.5%

CMYK percentages

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

Color previews

#f0baac text on a black background

contrast 12.32:1

Card sample

#f0baac text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0baac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0baac in the Color Lab