Skip to content

#f2ac97

a light, electric red · warm · closest name: tan

RGB
242, 172, 151
HSL
14°, 78%, 77%
CMYK
0, 29, 38, 5
Luminance
0.5062

Every format

HEX#f2ac97
RGBrgb(242, 172, 151)
HSLhsl(14, 78%, 77%)
CMYKcmyk(0%, 29%, 38%, 5%)
LABlab(76.5 23.1 21.0)
LCHlch(76.5 31.2 42.4)
OKLCHoklch(0.806 0.088 37.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ac97 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#f2ac97 on black: 11.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green67.5%
Blue59.2%

CMYK percentages

Cyan0.0%
Magenta28.9%
Yellow37.6%
Key (black)5.1%

Color previews

#f2ac97 text on a black background

contrast 11.12:1

Card sample

#f2ac97 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ac97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ac97 in the Color Lab