Skip to content

#f0bcac

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

RGB
240, 188, 172
HSL
14°, 69%, 81%
CMYK
0, 22, 28, 6
Luminance
0.5747

Every format

HEX#f0bcac
RGBrgb(240, 188, 172)
HSLhsl(14, 69%, 81%)
CMYKcmyk(0%, 22%, 28%, 6%)
LABlab(80.5 16.4 15.3)
LCHlch(80.5 22.4 42.9)
OKLCHoklch(0.838 0.064 37.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0bcac on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#f0bcac on black: 12.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green73.7%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta21.7%
Yellow28.3%
Key (black)5.9%

Color previews

#f0bcac text on a black background

contrast 12.49:1

Card sample

#f0bcac text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0bcac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0bcac in the Color Lab