Skip to content

#f2babc

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

RGB
242, 186, 188
HSL
358°, 68%, 84%
CMYK
0, 23, 22, 5
Luminance
0.5763

Every format

HEX#f2babc
RGBrgb(242, 186, 188)
HSLhsl(358, 68%, 84%)
CMYKcmyk(0%, 23%, 22%, 5%)
LABlab(80.5 20.4 6.8)
LCHlch(80.5 21.6 18.4)
OKLCHoklch(0.840 0.065 16.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green72.9%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta23.1%
Yellow22.3%
Key (black)5.1%

Color previews

#f2babc text on a black background

contrast 12.53:1

Card sample

#f2babc text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2babc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2babc in the Color Lab