Skip to content

#f0cccd

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

RGB
240, 204, 205
HSL
358°, 55%, 87%
CMYK
0, 15, 15, 6
Luminance
0.6612

Every format

HEX#f0cccd
RGBrgb(240, 204, 205)
HSLhsl(358, 55%, 87%)
CMYKcmyk(0%, 15%, 15%, 6%)
LABlab(85.1 12.8 4.2)
LCHlch(85.1 13.5 18.2)
OKLCHoklch(0.876 0.041 16.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cccd on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#f0cccd on black: 14.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow14.6%
Key (black)5.9%

Color previews

#f0cccd text on a black background

contrast 14.22:1

Card sample

#f0cccd text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cccd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cccd in the Color Lab