Skip to content

#ffafbc

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

RGB
255, 175, 188
HSL
350°, 100%, 84%
CMYK
0, 31, 26, 0
Luminance
0.5555

Every format

HEX#ffafbc
RGBrgb(255, 175, 188)
HSLhsl(350, 100%, 84%)
CMYKcmyk(0%, 31%, 26%, 0%)
LABlab(79.4 30.9 5.3)
LCHlch(79.4 31.4 9.7)
OKLCHoklch(0.834 0.095 8.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffafbc on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#ffafbc on black: 12.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow26.3%
Key (black)0.0%

Color previews

#ffafbc text on a black background

contrast 12.11:1

Card sample

#ffafbc text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffafbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffafbc in the Color Lab