Skip to content

#f0b3a7

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

RGB
240, 179, 167
HSL
10°, 71%, 80%
CMYK
0, 25, 30, 6
Luminance
0.5356

Every format

HEX#f0b3a7
RGBrgb(240, 179, 167)
HSLhsl(10, 71%, 80%)
CMYKcmyk(0%, 25%, 30%, 6%)
LABlab(78.2 20.6 14.8)
LCHlch(78.2 25.3 35.8)
OKLCHoklch(0.820 0.074 31.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0b3a7 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#f0b3a7 on black: 11.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green70.2%
Blue65.5%

CMYK percentages

Cyan0.0%
Magenta25.4%
Yellow30.4%
Key (black)5.9%

Color previews

#f0b3a7 text on a black background

contrast 11.71:1

Card sample

#f0b3a7 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0b3a7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0b3a7 in the Color Lab