Skip to content

#fbafef

a light, electric magenta / pink · neutral · closest name: Plum

RGB
251, 175, 239
HSL
310°, 91%, 84%
CMYK
0, 30, 5, 2
Luminance
0.5740

At a glance

Every number on this page in one read: what #fbafef is made of, how bright it looks, and which way it leans.

Hex
#fbafef
Hue
310°
magenta / pink
Saturation
91%
electric
Lightness
84%
light
Brightness
98%
HSV value
Perceived
82%
weighted brightness
Luminance
0.5740
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
12.48:1
Closest name
Plum
ΔE2000 5.6
Where it sits
Hue310° of 360°
Saturation91%
Lightness84%
Temperature
Warm ← → Cool45% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#fbafef
RGBrgb(251, 175, 239)
HSLhsl(310, 91%, 84%)
CMYKcmyk(0%, 30%, 5%, 2%)
LABlab(80.4 37.5 -20.8)
LCHlch(80.4 42.9 331.0)
OKLCHoklch(0.846 0.120 332.3)
Decimal16494575
Display P3color(display-p3 0.984 0.686 0.937)

Copy-ready code

/* CSS */
color: #fbafef;
background-color: #fbafef;
/* Tailwind (arbitrary) */
class="text-[#fbafef] bg-[#fbafef]"
/* SCSS */
$brand: #fbafef;
/* SwiftUI */
Color(red: 0.984, green: 0.686, blue: 0.937)
/* Android */
Color.parseColor("#fbafef")
/* Flutter */
Color(0xFFFBAFEF)
/* Python / OpenCV (BGR) */
(239, 175, 251)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #fbafef · 12.48:1
Use #000000AAA at every size.
Aa
White text · 1.68:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.48:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fbafef as text scores 1.68:1 on white and 12.48:1 on black.

Accessibility — WCAG contrast

Aa
#fbafef on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#fbafef on black: 12.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AEC1F1
deuteranopia · #C0CBED
tritanopia · #FFB3C6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fbafef is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF2FB
#FBE5F7
#fbafef
#FA94EA
#F75FDF
#F429D4
#E90CC6
#C20AA5
#9B0884
#700A60
#46063C
Base = 200Lightest = 50 · #FDF2FBDarkest = 950 · #46063C
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FBE5F7;
  --brand-200: #fbafef;
  --brand-300: #FA94EA;
  --brand-400: #F75FDF;
  --brand-500: #F429D4;
  --brand-600: #E90CC6;
  --brand-700: #C20AA5;
  --brand-800: #9B0884;
  --brand-900: #700A60;
  --brand-950: #46063C;
  --brand: #fbafef;
  --brand-ink: #000000;
}

Colors that work with #fbafef

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F9
Tinted page background
Border#EDC0E6
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#16C705
Second voice, not a rival
Dark variant#790667
Hover, pressed, headers
Light variant#FEE7FA
Selected rows, tints
Dark surface#241422
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #fbafef

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#AFFBBB
Analogous left#E1AFFB
Analogous right#FBAFC9
Split-complement 1#C9FBAF
Split-complement 2#AFFBE1
Triadic 1#EFFBAF
Triadic 2#AFEFFB
Tetradic#FBE1AF

RGB percentages

Red98.4%
Green68.6%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta30.3%
Yellow4.8%
Key (black)1.6%

Color previews

#fbafef text on a black background

contrast 12.48:1

Card sample

#fbafef text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbafef

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#fbafef in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#fbafef, answered

What color is #fbafef?

#fbafef is a light electric magenta / pink, closest to Plum (ΔE2000 5.6). It sits at 310° on the hue wheel with 91% saturation and 84% lightness, which reads as neutral.

What is the RGB value of #fbafef?

rgb(251, 175, 239) — 251 red, 175 green and 239 blue out of 255, or 98.4% / 68.6% / 93.7% by channel.

Is #fbafef a light or a dark color?

It is a light color. Relative luminance is 0.5740 and perceived brightness is 82%, so black text on it reaches 12.48:1.

Should I use black or white text on #fbafef?

Black. It scores 12.48:1 against #fbafef, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #fbafef?

#AFFBBB sits directly opposite on the wheel. Softer options are the split-complements #C9FBAF and #AFFBE1, which give the same contrast with far less vibration.

What colors go well with #fbafef?

For interface work: #FAF4F9 as the surface, #EDC0E6 for borders, #9B4B8E for secondary text, #16C705 as an accent and #790667 for hover and pressed states. For a palette, the analogous pair #E1AFFB and #FBAFC9 stays calm, while #AFFBBB is the loudest partner.

What is #fbafef in CMYK for printing?

cmyk(0%, 30%, 5%, 2%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #fbafef warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FBAFD3; nudged cooler, #ECAEFC.

Work with #fbafef in the Color Lab