Skip to content

#f0bcdf

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

RGB
240, 188, 223
HSL
320°, 63%, 84%
CMYK
0, 22, 7, 6
Luminance
0.5982

Every format

HEX#f0bcdf
RGBrgb(240, 188, 223)
HSLhsl(320, 63%, 84%)
CMYKcmyk(0%, 22%, 7%, 6%)
LABlab(81.7 24.2 -10.3)
LCHlch(81.7 26.3 337.0)
OKLCHoklch(0.852 0.075 338.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green73.7%
Blue87.5%

CMYK percentages

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

Color previews

#f0bcdf text on a black background

contrast 12.96:1

Card sample

#f0bcdf text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0bcdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0bcdf in the Color Lab