Skip to content

#fec0b2

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

RGB
254, 192, 178
HSL
11°, 97%, 85%
CMYK
0, 24, 30, 0
Luminance
0.6198

Every format

HEX#fec0b2
RGBrgb(254, 192, 178)
HSLhsl(11, 97%, 85%)
CMYKcmyk(0%, 24%, 30%, 0%)
LABlab(82.9 20.3 15.7)
LCHlch(82.9 25.7 37.7)
OKLCHoklch(0.860 0.074 33.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fec0b2 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#fec0b2 on black: 13.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green75.3%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta24.4%
Yellow29.9%
Key (black)0.4%

Color previews

#fec0b2 text on a black background

contrast 13.40:1

Card sample

#fec0b2 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 192, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 192, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fec0b2;
background: linear-gradient(135deg, #fec0b2, #FEF3B2);

Monochromatic scale

Palettes built from #fec0b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fec0b2 in the Color Lab