Skip to content

#f2cabb

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

RGB
242, 202, 187
HSL
16°, 68%, 84%
CMYK
0, 17, 23, 5
Luminance
0.6471

Every format

HEX#f2cabb
RGBrgb(242, 202, 187)
HSLhsl(16, 68%, 84%)
CMYKcmyk(0%, 17%, 23%, 5%)
LABlab(84.3 11.9 12.8)
LCHlch(84.3 17.4 47.1)
OKLCHoklch(0.869 0.050 41.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green79.2%
Blue73.3%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow22.7%
Key (black)5.1%

Color previews

#f2cabb text on a black background

contrast 13.94:1

Card sample

#f2cabb text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cabb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cabb in the Color Lab