Skip to content

#f0baeb

a light, vivid magenta / pink · warm · closest name: plum

RGB
240, 186, 235
HSL
306°, 64%, 84%
CMYK
0, 23, 2, 6
Luminance
0.5964

Every format

HEX#f0baeb
RGBrgb(240, 186, 235)
HSLhsl(306, 64%, 84%)
CMYKcmyk(0%, 23%, 2%, 6%)
LABlab(81.6 27.4 -16.9)
LCHlch(81.6 32.2 328.4)
OKLCHoklch(0.852 0.089 329.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0baeb on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#f0baeb on black: 12.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green72.9%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta22.5%
Yellow2.1%
Key (black)5.9%

Color previews

#f0baeb text on a black background

contrast 12.93:1

Card sample

#f0baeb text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0baeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0baeb in the Color Lab