Skip to content

#f0b8fa

a pale, electric magenta / pink · warm · closest name: plum

RGB
240, 184, 250
HSL
291°, 87%, 85%
CMYK
4, 26, 0, 2
Luminance
0.5971

Every format

HEX#f0b8fa
RGBrgb(240, 184, 250)
HSLhsl(291, 87%, 85%)
CMYKcmyk(4%, 26%, 0%, 2%)
LABlab(81.7 31.2 -24.9)
LCHlch(81.7 39.9 321.5)
OKLCHoklch(0.854 0.108 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green72.2%
Blue98.0%

CMYK percentages

Cyan4.0%
Magenta26.4%
Yellow0.0%
Key (black)2.0%

Color previews

#f0b8fa text on a black background

contrast 12.94:1

Card sample

#f0b8fa text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0b8fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0b8fa in the Color Lab