Skip to content

#f0cdcc

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

RGB
240, 205, 204
HSL
2°, 55%, 87%
CMYK
0, 15, 15, 6
Luminance
0.6655

Every format

HEX#f0cdcc
RGBrgb(240, 205, 204)
HSLhsl(2, 55%, 87%)
CMYKcmyk(0%, 15%, 15%, 6%)
LABlab(85.3 12.1 5.1)
LCHlch(85.3 13.1 22.7)
OKLCHoklch(0.878 0.040 19.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cdcc on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#f0cdcc on black: 14.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green80.4%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta14.6%
Yellow15.0%
Key (black)5.9%

Color previews

#f0cdcc text on a black background

contrast 14.31:1

Card sample

#f0cdcc text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cdcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cdcc in the Color Lab