Skip to content

#f0bcdb

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

RGB
240, 188, 219
HSL
324°, 63%, 84%
CMYK
0, 22, 9, 6
Luminance
0.5961

Every format

HEX#f0bcdb
RGBrgb(240, 188, 219)
HSLhsl(324, 63%, 84%)
CMYKcmyk(0%, 22%, 9%, 6%)
LABlab(81.6 23.5 -8.3)
LCHlch(81.6 25.0 340.6)
OKLCHoklch(0.851 0.072 342.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0bcdb on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#f0bcdb on black: 12.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green73.7%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta21.7%
Yellow8.8%
Key (black)5.9%

Color previews

#f0bcdb text on a black background

contrast 12.92:1

Card sample

#f0bcdb text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0bcdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0bcdb in the Color Lab