Skip to content

#f0bcba

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

RGB
240, 188, 186
HSL
2°, 64%, 84%
CMYK
0, 22, 23, 6
Luminance
0.5804

Every format

HEX#f0bcba
RGBrgb(240, 188, 186)
HSLhsl(2, 64%, 84%)
CMYKcmyk(0%, 22%, 23%, 6%)
LABlab(80.8 18.4 8.2)
LCHlch(80.8 20.1 24.0)
OKLCHoklch(0.841 0.060 21.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0bcba on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#f0bcba on black: 12.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green73.7%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta21.7%
Yellow22.5%
Key (black)5.9%

Color previews

#f0bcba text on a black background

contrast 12.61:1

Card sample

#f0bcba text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0bcba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0bcba in the Color Lab