Skip to content

#f0bcec

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

RGB
240, 188, 236
HSL
305°, 63%, 84%
CMYK
0, 22, 2, 6
Luminance
0.6055

Every format

HEX#f0bcec
RGBrgb(240, 188, 236)
HSLhsl(305, 63%, 84%)
CMYKcmyk(0%, 22%, 2%, 6%)
LABlab(82.1 26.5 -16.7)
LCHlch(82.1 31.3 327.8)
OKLCHoklch(0.856 0.086 328.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green73.7%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta21.7%
Yellow1.7%
Key (black)5.9%

Color previews

#f0bcec text on a black background

contrast 13.11:1

Card sample

#f0bcec text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0bcec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0bcec in the Color Lab