Skip to content

#f0ceeb

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
240, 206, 235
HSL
309°, 53%, 88%
CMYK
0, 14, 2, 6
Luminance
0.6867

Every format

HEX#f0ceeb
RGBrgb(240, 206, 235)
HSLhsl(309, 53%, 88%)
CMYKcmyk(0%, 14%, 2%, 6%)
LABlab(86.3 16.8 -9.8)
LCHlch(86.3 19.4 329.6)
OKLCHoklch(0.889 0.054 330.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ceeb on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#f0ceeb on black: 14.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green80.8%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta14.2%
Yellow2.1%
Key (black)5.9%

Color previews

#f0ceeb text on a black background

contrast 14.73:1

Card sample

#f0ceeb text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ceeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ceeb in the Color Lab