Skip to content

#f0c8cf

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

RGB
240, 200, 207
HSL
350°, 57%, 86%
CMYK
0, 17, 14, 6
Luminance
0.6434

Every format

HEX#f0c8cf
RGBrgb(240, 200, 207)
HSLhsl(350, 57%, 86%)
CMYKcmyk(0%, 17%, 14%, 6%)
LABlab(84.1 15.2 1.8)
LCHlch(84.1 15.3 6.8)
OKLCHoklch(0.869 0.046 6.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0c8cf on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#f0c8cf on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green78.4%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow13.7%
Key (black)5.9%

Color previews

#f0c8cf text on a black background

contrast 13.87:1

Card sample

#f0c8cf text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0c8cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0c8cf in the Color Lab