Skip to content

#f0d5cd

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

RGB
240, 213, 205
HSL
14°, 54%, 87%
CMYK
0, 11, 15, 6
Luminance
0.7052

Every format

HEX#f0d5cd
RGBrgb(240, 213, 205)
HSLhsl(14, 54%, 87%)
CMYKcmyk(0%, 11%, 15%, 6%)
LABlab(87.3 8.1 7.4)
LCHlch(87.3 10.9 42.4)
OKLCHoklch(0.893 0.032 37.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0d5cd on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#f0d5cd on black: 15.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green83.5%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow14.6%
Key (black)5.9%

Color previews

#f0d5cd text on a black background

contrast 15.10:1

Card sample

#f0d5cd text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0d5cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0d5cd in the Color Lab