Skip to content

#ffafba

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

RGB
255, 175, 186
HSL
352°, 100%, 84%
CMYK
0, 31, 27, 0
Luminance
0.5547

Every format

HEX#ffafba
RGBrgb(255, 175, 186)
HSLhsl(352, 100%, 84%)
CMYKcmyk(0%, 31%, 27%, 0%)
LABlab(79.3 30.7 6.3)
LCHlch(79.3 31.3 11.6)
OKLCHoklch(0.833 0.095 10.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow27.1%
Key (black)0.0%

Color previews

#ffafba text on a black background

contrast 12.09:1

Card sample

#ffafba text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffafba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffafba in the Color Lab