Skip to content

#ffc2b1

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

RGB
255, 194, 177
HSL
13°, 100%, 85%
CMYK
0, 24, 31, 0
Luminance
0.6302

Every format

HEX#ffc2b1
RGBrgb(255, 194, 177)
HSLhsl(13, 100%, 85%)
CMYKcmyk(0%, 24%, 31%, 0%)
LABlab(83.5 19.5 17.0)
LCHlch(83.5 25.9 41.1)
OKLCHoklch(0.865 0.074 36.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc2b1 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#ffc2b1 on black: 13.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green76.1%
Blue69.4%

CMYK percentages

Cyan0.0%
Magenta23.9%
Yellow30.6%
Key (black)0.0%

Color previews

#ffc2b1 text on a black background

contrast 13.60:1

Card sample

#ffc2b1 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 194, 177, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 194, 177, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffc2b1;
background: linear-gradient(135deg, #ffc2b1, #FFF6B1);

Monochromatic scale

Palettes built from #ffc2b1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc2b1 in the Color Lab