Skip to content

#f9afab

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

RGB
249, 175, 171
HSL
3°, 87%, 82%
CMYK
0, 30, 31, 2
Luminance
0.5374

Every format

HEX#f9afab
RGBrgb(249, 175, 171)
HSLhsl(3, 87%, 82%)
CMYKcmyk(0%, 30%, 31%, 2%)
LABlab(78.3 26.5 12.9)
LCHlch(78.3 29.5 26.0)
OKLCHoklch(0.823 0.087 22.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9afab on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#f9afab on black: 11.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green68.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta29.7%
Yellow31.3%
Key (black)2.4%

Color previews

#f9afab text on a black background

contrast 11.75:1

Card sample

#f9afab text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9afab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9afab in the Color Lab