Skip to content

#f2d8cd

a pale, vivid orange · warm · closest name: beige

RGB
242, 216, 205
HSL
18°, 59%, 88%
CMYK
0, 11, 15, 5
Luminance
0.7240

Every format

HEX#f2d8cd
RGBrgb(242, 216, 205)
HSLhsl(18, 59%, 88%)
CMYKcmyk(0%, 11%, 15%, 5%)
LABlab(88.2 7.2 8.7)
LCHlch(88.2 11.3 50.3)
OKLCHoklch(0.901 0.033 44.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2d8cd on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#f2d8cd on black: 15.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green84.7%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta10.7%
Yellow15.3%
Key (black)5.1%

Color previews

#f2d8cd text on a black background

contrast 15.48:1

Card sample

#f2d8cd text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d8cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d8cd in the Color Lab