Skip to content

#f2cbaf

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

RGB
242, 203, 175
HSL
25°, 72%, 82%
CMYK
0, 16, 28, 5
Luminance
0.6468

Every format

HEX#f2cbaf
RGBrgb(242, 203, 175)
HSLhsl(25, 72%, 82%)
CMYKcmyk(0%, 16%, 28%, 5%)
LABlab(84.3 9.7 19.1)
LCHlch(84.3 21.4 63.1)
OKLCHoklch(0.869 0.058 57.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green79.6%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow27.7%
Key (black)5.1%

Color previews

#f2cbaf text on a black background

contrast 13.94:1

Card sample

#f2cbaf text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cbaf in the Color Lab