Skip to content

#f0b3ba

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

RGB
240, 179, 186
HSL
353°, 67%, 82%
CMYK
0, 25, 23, 6
Luminance
0.5431

Every format

HEX#f0b3ba
RGBrgb(240, 179, 186)
HSLhsl(353, 67%, 82%)
CMYKcmyk(0%, 25%, 23%, 6%)
LABlab(78.6 23.1 5.1)
LCHlch(78.6 23.7 12.5)
OKLCHoklch(0.825 0.072 11.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0b3ba on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#f0b3ba on black: 11.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green70.2%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta25.4%
Yellow22.5%
Key (black)5.9%

Color previews

#f0b3ba text on a black background

contrast 11.86:1

Card sample

#f0b3ba text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0b3ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0b3ba in the Color Lab