Skip to content

#f0babc

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

RGB
240, 186, 188
HSL
358°, 64%, 84%
CMYK
0, 23, 22, 6
Luminance
0.5727

Every format

HEX#f0babc
RGBrgb(240, 186, 188)
HSLhsl(358, 64%, 84%)
CMYKcmyk(0%, 23%, 22%, 6%)
LABlab(80.3 19.7 6.5)
LCHlch(80.3 20.8 18.2)
OKLCHoklch(0.838 0.063 16.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0babc on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#f0babc on black: 12.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green72.9%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta22.5%
Yellow21.7%
Key (black)5.9%

Color previews

#f0babc text on a black background

contrast 12.45:1

Card sample

#f0babc text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0babc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0babc in the Color Lab