Skip to content

#f2cebf

a light, vivid orange · warm · closest name: pink

RGB
242, 206, 191
HSL
18°, 66%, 85%
CMYK
0, 15, 21, 5
Luminance
0.6678

Every format

HEX#f2cebf
RGBrgb(242, 206, 191)
HSLhsl(18, 66%, 85%)
CMYKcmyk(0%, 15%, 21%, 5%)
LABlab(85.4 10.3 12.2)
LCHlch(85.4 16.0 49.6)
OKLCHoklch(0.878 0.046 43.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cebf on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#f2cebf on black: 14.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.8%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta14.9%
Yellow21.1%
Key (black)5.1%

Color previews

#f2cebf text on a black background

contrast 14.36:1

Card sample

#f2cebf text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cebf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cebf in the Color Lab