Skip to content

#f0c4cf

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

RGB
240, 196, 207
HSL
345°, 60%, 86%
CMYK
0, 18, 14, 6
Luminance
0.6251

Every format

HEX#f0c4cf
RGBrgb(240, 196, 207)
HSLhsl(345, 60%, 86%)
CMYKcmyk(0%, 18%, 14%, 6%)
LABlab(83.2 17.3 0.4)
LCHlch(83.2 17.3 1.4)
OKLCHoklch(0.862 0.052 1.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0c4cf on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#f0c4cf on black: 13.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green76.9%
Blue81.2%

CMYK percentages

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

Color previews

#f0c4cf text on a black background

contrast 13.50:1

Card sample

#f0c4cf text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0c4cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0c4cf in the Color Lab