Skip to content

#f5abfb

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

RGB
245, 171, 251
HSL
296°, 91%, 83%
CMYK
2, 32, 0, 2
Luminance
0.5550

At a glance

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

Hex
#f5abfb
Hue
296°
magenta / pink
Saturation
91%
electric
Lightness
83%
light
Brightness
98%
HSV value
Perceived
81%
weighted brightness
Luminance
0.5550
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
12.10:1
Closest name
Plum
ΔE2000 5.5
Where it sits
Hue296° of 360°
Saturation91%
Lightness83%
Temperature
Warm ← → Cool53% 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#f5abfb
RGBrgb(245, 171, 251)
HSLhsl(296, 91%, 83%)
CMYKcmyk(2%, 32%, 0%, 2%)
LABlab(79.3 39.8 -28.9)
LCHlch(79.3 49.2 324.0)
OKLCHoklch(0.838 0.134 324.1)
Decimal16100347
Display P3color(display-p3 0.961 0.671 0.984)

Copy-ready code

/* CSS */
color: #f5abfb;
background-color: #f5abfb;
/* Tailwind (arbitrary) */
class="text-[#f5abfb] bg-[#f5abfb]"
/* SCSS */
$brand: #f5abfb;
/* SwiftUI */
Color(red: 0.961, green: 0.671, blue: 0.984)
/* Android */
Color.parseColor("#f5abfb")
/* Flutter */
Color(0xFFF5ABFB)
/* Python / OpenCV (BGR) */
(251, 171, 245)

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 #f5abfb · 12.10:1
Use #000000AAA at every size.
Aa
White text · 1.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.10:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f5abfb as text scores 1.74:1 on white and 12.10:1 on black.

Accessibility — WCAG contrast

Aa
#f5abfb on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#f5abfb on black: 12.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A4BFFE
deuteranopia · #B6C8F8
tritanopia · #F8B3C8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f5abfb 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.

#FCF2FD
#F9E5FB
#f5abfb
#F294FA
#EC5EF7
#E529F5
#D90BEA
#B509C3
#91079C
#690A70
#410646
Base = 200Lightest = 50 · #FCF2FDDarkest = 950 · #410646
:root {
  --brand-50: #FCF2FD;
  --brand-100: #F9E5FB;
  --brand-200: #f5abfb;
  --brand-300: #F294FA;
  --brand-400: #EC5EF7;
  --brand-500: #E529F5;
  --brand-600: #D90BEA;
  --brand-700: #B509C3;
  --brand-800: #91079C;
  --brand-900: #690A70;
  --brand-950: #410646;
  --brand: #f5abfb;
  --brand-ink: #000000;
}

Colors that work with #f5abfb

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#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#43C705
Second voice, not a rival
Dark variant#71067A
Hover, pressed, headers
Light variant#FCE7FE
Selected rows, tints
Dark surface#231424
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 #f5abfb

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#B1FBAB
Analogous left#CDABFB
Analogous right#FBABD9
Split-complement 1#D9FBAB
Split-complement 2#ABFBCD
Triadic 1#FBF5AB
Triadic 2#ABFBF5
Tetradic#FBCDAB

RGB percentages

Red96.1%
Green67.1%
Blue98.4%

CMYK percentages

Cyan2.4%
Magenta31.9%
Yellow0.0%
Key (black)1.6%

Color previews

#f5abfb text on a black background

contrast 12.10:1

Card sample

#f5abfb text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5abfb

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.

#f5abfb 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.

#f5abfb, answered

What color is #f5abfb?

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

What is the RGB value of #f5abfb?

rgb(245, 171, 251) — 245 red, 171 green and 251 blue out of 255, or 96.1% / 67.1% / 98.4% by channel.

Is #f5abfb a light or a dark color?

It is a light color. Relative luminance is 0.5550 and perceived brightness is 81%, so black text on it reaches 12.10:1.

Should I use black or white text on #f5abfb?

Black. It scores 12.10:1 against #f5abfb, versus 1.74:1 for white — AAA at any size.

What is the complementary color of #f5abfb?

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

What colors go well with #f5abfb?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #43C705 as an accent and #71067A for hover and pressed states. For a palette, the analogous pair #CDABFB and #FBABD9 stays calm, while #B1FBAB is the loudest partner.

What is #f5abfb in CMYK for printing?

cmyk(2%, 32%, 0%, 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 #f5abfb warm or cool?

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

Work with #f5abfb in the Color Lab