Skip to content

#f0accb

a light, vivid magenta / pink · warm · closest name: pink

RGB
240, 172, 203
HSL
333°, 69%, 81%
CMYK
0, 28, 15, 6
Luminance
0.5234

Every format

HEX#f0accb
RGBrgb(240, 172, 203)
HSLhsl(333, 69%, 81%)
CMYKcmyk(0%, 28%, 15%, 6%)
LABlab(77.5 29.4 -5.8)
LCHlch(77.5 30.0 348.9)
OKLCHoklch(0.817 0.088 350.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0accb on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#f0accb on black: 11.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green67.5%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow15.4%
Key (black)5.9%

Color previews

#f0accb text on a black background

contrast 11.47:1

Card sample

#f0accb text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0accb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0accb in the Color Lab