Skip to content

#ffb1c2

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

RGB
255, 177, 194
HSL
347°, 100%, 85%
CMYK
0, 31, 24, 0
Luminance
0.5660

Every format

HEX#ffb1c2
RGBrgb(255, 177, 194)
HSLhsl(347, 100%, 85%)
CMYKcmyk(0%, 31%, 24%, 0%)
LABlab(80.0 30.7 2.9)
LCHlch(80.0 30.9 5.4)
OKLCHoklch(0.839 0.093 5.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb1c2 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ffb1c2 on black: 12.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green69.4%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta30.6%
Yellow23.9%
Key (black)0.0%

Color previews

#ffb1c2 text on a black background

contrast 12.32:1

Card sample

#ffb1c2 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb1c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb1c2 in the Color Lab