Skip to content

#f2abbc

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

RGB
242, 171, 188
HSL
346°, 73%, 81%
CMYK
0, 29, 22, 5
Luminance
0.5163

Every format

HEX#f2abbc
RGBrgb(242, 171, 188)
HSLhsl(346, 73%, 81%)
CMYKcmyk(0%, 29%, 22%, 5%)
LABlab(77.1 28.4 1.8)
LCHlch(77.1 28.5 3.6)
OKLCHoklch(0.813 0.086 3.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2abbc on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#f2abbc on black: 11.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green67.1%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta29.3%
Yellow22.3%
Key (black)5.1%

Color previews

#f2abbc text on a black background

contrast 11.33:1

Card sample

#f2abbc text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2abbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2abbc in the Color Lab