Skip to content

#f0cace

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

RGB
240, 202, 206
HSL
354°, 56%, 87%
CMYK
0, 16, 14, 6
Luminance
0.6522

Every format

HEX#f0cace
RGBrgb(240, 202, 206)
HSLhsl(354, 56%, 87%)
CMYKcmyk(0%, 16%, 14%, 6%)
LABlab(84.6 14.0 3.0)
LCHlch(84.6 14.3 12.2)
OKLCHoklch(0.873 0.043 10.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cace on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#f0cace on black: 14.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green79.2%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta15.8%
Yellow14.2%
Key (black)5.9%

Color previews

#f0cace text on a black background

contrast 14.04:1

Card sample

#f0cace text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cace in the Color Lab