Skip to content

#f07bab

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

RGB
240, 123, 171
HSL
335°, 80%, 71%
CMYK
0, 49, 29, 6
Luminance
0.3563

Every format

HEX#f07bab
RGBrgb(240, 123, 171)
HSLhsl(335, 80%, 71%)
CMYKcmyk(0%, 49%, 29%, 6%)
LABlab(66.2 50.1 -4.7)
LCHlch(66.2 50.4 354.7)
OKLCHoklch(0.729 0.152 355.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f07bab on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#f07bab on black: 8.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green48.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta48.7%
Yellow28.8%
Key (black)5.9%

Color previews

#f07bab text on a black background

contrast 8.13:1

Card sample

#f07bab text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f07bab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f07bab in the Color Lab