Skip to content

#f1afba

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

RGB
241, 175, 186
HSL
350°, 70%, 82%
CMYK
0, 27, 23, 6
Luminance
0.5291

Every format

HEX#f1afba
RGBrgb(241, 175, 186)
HSLhsl(350, 70%, 82%)
CMYKcmyk(0%, 27%, 23%, 6%)
LABlab(77.8 25.6 4.0)
LCHlch(77.8 25.9 8.8)
OKLCHoklch(0.819 0.078 7.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1afba on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#f1afba on black: 11.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green68.6%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow22.8%
Key (black)5.5%

Color previews

#f1afba text on a black background

contrast 11.58:1

Card sample

#f1afba text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1afba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1afba in the Color Lab