Skip to content

#f0cfee

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

RGB
240, 207, 238
HSL
304°, 52%, 88%
CMYK
0, 14, 1, 6
Luminance
0.6932

Every format

HEX#f0cfee
RGBrgb(240, 207, 238)
HSLhsl(304, 52%, 88%)
CMYKcmyk(0%, 14%, 1%, 6%)
LABlab(86.7 16.8 -10.9)
LCHlch(86.7 20.1 326.9)
OKLCHoklch(0.891 0.055 327.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cfee on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#f0cfee on black: 14.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green81.2%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta13.7%
Yellow0.8%
Key (black)5.9%

Color previews

#f0cfee text on a black background

contrast 14.86:1

Card sample

#f0cfee text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cfee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cfee in the Color Lab