Skip to content

#f0cacb

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

RGB
240, 202, 203
HSL
358°, 56%, 87%
CMYK
0, 16, 15, 6
Luminance
0.6508

Every format

HEX#f0cacb
RGBrgb(240, 202, 203)
HSLhsl(358, 56%, 87%)
CMYKcmyk(0%, 16%, 15%, 6%)
LABlab(84.5 13.5 4.5)
LCHlch(84.5 14.3 18.4)
OKLCHoklch(0.872 0.043 16.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green79.2%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta15.8%
Yellow15.4%
Key (black)5.9%

Color previews

#f0cacb text on a black background

contrast 14.02:1

Card sample

#f0cacb text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cacb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cacb in the Color Lab