Skip to content

#f2cbab

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

RGB
242, 203, 171
HSL
27°, 73%, 81%
CMYK
0, 16, 29, 5
Luminance
0.6453

Every format

HEX#f2cbab
RGBrgb(242, 203, 171)
HSLhsl(27, 73%, 81%)
CMYKcmyk(0%, 16%, 29%, 5%)
LABlab(84.2 9.2 21.1)
LCHlch(84.2 23.0 66.5)
OKLCHoklch(0.868 0.061 61.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cbab on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#f2cbab on black: 13.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green79.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow29.3%
Key (black)5.1%

Color previews

#f2cbab text on a black background

contrast 13.91:1

Card sample

#f2cbab text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cbab in the Color Lab