Skip to content

#f28bab

a light, electric magenta / pink · warm · closest name: pink

RGB
242, 139, 171
HSL
341°, 80%, 75%
CMYK
0, 43, 29, 5
Luminance
0.4028

Every format

HEX#f28bab
RGBrgb(242, 139, 171)
HSLhsl(341, 80%, 75%)
CMYKcmyk(0%, 43%, 29%, 5%)
LABlab(69.7 42.8 0.4)
LCHlch(69.7 42.8 0.6)
OKLCHoklch(0.755 0.130 0.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f28bab on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#f28bab on black: 9.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green54.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta42.6%
Yellow29.3%
Key (black)5.1%

Color previews

#f28bab text on a black background

contrast 9.06:1

Card sample

#f28bab text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f28bab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f28bab in the Color Lab