Skip to content

#f0bceb

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

RGB
240, 188, 235
HSL
306°, 63%, 84%
CMYK
0, 22, 2, 6
Luminance
0.6049

Every format

HEX#f0bceb
RGBrgb(240, 188, 235)
HSLhsl(306, 63%, 84%)
CMYKcmyk(0%, 22%, 2%, 6%)
LABlab(82.1 26.3 -16.2)
LCHlch(82.1 30.9 328.4)
OKLCHoklch(0.856 0.085 329.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0bceb on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#f0bceb on black: 13.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green73.7%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta21.7%
Yellow2.1%
Key (black)5.9%

Color previews

#f0bceb text on a black background

contrast 13.10:1

Card sample

#f0bceb text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0bceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0bceb in the Color Lab