Skip to content

#f2ddcf

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

RGB
242, 221, 207
HSL
24°, 57%, 88%
CMYK
0, 9, 15, 5
Luminance
0.7510

Every format

HEX#f2ddcf
RGBrgb(242, 221, 207)
HSLhsl(24, 57%, 88%)
CMYKcmyk(0%, 9%, 15%, 5%)
LABlab(89.4 5.0 9.5)
LCHlch(89.4 10.7 62.4)
OKLCHoklch(0.911 0.030 56.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ddcf on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#f2ddcf on black: 16.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green86.7%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta8.7%
Yellow14.5%
Key (black)5.1%

Color previews

#f2ddcf text on a black background

contrast 16.02:1

Card sample

#f2ddcf text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ddcf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ddcf in the Color Lab