Skip to content

#f0cfd0

a pale, vivid red · warm · closest name: pink

RGB
240, 207, 208
HSL
358°, 52%, 88%
CMYK
0, 14, 13, 6
Luminance
0.6770

Every format

HEX#f0cfd0
RGBrgb(240, 207, 208)
HSLhsl(358, 52%, 88%)
CMYKcmyk(0%, 14%, 13%, 6%)
LABlab(85.9 11.7 3.8)
LCHlch(85.9 12.3 17.9)
OKLCHoklch(0.882 0.037 15.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cfd0 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#f0cfd0 on black: 14.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green81.2%
Blue81.6%

CMYK percentages

Cyan0.0%
Magenta13.7%
Yellow13.3%
Key (black)5.9%

Color previews

#f0cfd0 text on a black background

contrast 14.54:1

Card sample

#f0cfd0 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cfd0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cfd0 in the Color Lab