Skip to content

#f0b7af

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

RGB
240, 183, 175
HSL
7°, 68%, 81%
CMYK
0, 24, 27, 6
Luminance
0.5549

Every format

HEX#f0b7af
RGBrgb(240, 183, 175)
HSLhsl(7, 68%, 81%)
CMYKcmyk(0%, 24%, 27%, 6%)
LABlab(79.3 19.5 12.1)
LCHlch(79.3 22.9 31.7)
OKLCHoklch(0.829 0.068 27.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0b7af on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#f0b7af on black: 12.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green71.8%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta23.8%
Yellow27.1%
Key (black)5.9%

Color previews

#f0b7af text on a black background

contrast 12.10:1

Card sample

#f0b7af text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0b7af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0b7af in the Color Lab