Skip to content

#ffafb6

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

RGB
255, 175, 182
HSL
355°, 100%, 84%
CMYK
0, 31, 29, 0
Luminance
0.5530

Every format

HEX#ffafb6
RGBrgb(255, 175, 182)
HSLhsl(355, 100%, 84%)
CMYKcmyk(0%, 31%, 29%, 0%)
LABlab(79.2 30.1 8.3)
LCHlch(79.2 31.3 15.5)
OKLCHoklch(0.832 0.094 13.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffafb6 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#ffafb6 on black: 12.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue71.4%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow28.6%
Key (black)0.0%

Color previews

#ffafb6 text on a black background

contrast 12.06:1

Card sample

#ffafb6 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffafb6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffafb6 in the Color Lab