Skip to content

#fbafc2

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

RGB
251, 175, 194
HSL
345°, 91%, 84%
CMYK
0, 30, 23, 2
Luminance
0.5506

Every format

HEX#fbafc2
RGBrgb(251, 175, 194)
HSLhsl(345, 91%, 84%)
CMYKcmyk(0%, 30%, 23%, 2%)
LABlab(79.1 30.4 1.6)
LCHlch(79.1 30.4 3.0)
OKLCHoklch(0.831 0.092 2.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbafc2 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#fbafc2 on black: 12.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green68.6%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta30.3%
Yellow22.7%
Key (black)1.6%

Color previews

#fbafc2 text on a black background

contrast 12.01:1

Card sample

#fbafc2 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbafc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbafc2 in the Color Lab