Skip to content

#f0b8df

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

RGB
240, 184, 223
HSL
318°, 65%, 83%
CMYK
0, 23, 7, 6
Luminance
0.5813

Every format

HEX#f0b8df
RGBrgb(240, 184, 223)
HSLhsl(318, 65%, 83%)
CMYKcmyk(0%, 23%, 7%, 6%)
LABlab(80.8 26.3 -11.7)
LCHlch(80.8 28.8 336.1)
OKLCHoklch(0.845 0.082 337.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0b8df on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#f0b8df on black: 12.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green72.2%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta23.3%
Yellow7.1%
Key (black)5.9%

Color previews

#f0b8df text on a black background

contrast 12.63:1

Card sample

#f0b8df text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0b8df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0b8df in the Color Lab