Skip to content

#fba2f8

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

RGB
251, 162, 248
HSL
302°, 92%, 81%
CMYK
0, 36, 1, 2
Luminance
0.5313

At a glance

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

Hex
#fba2f8
Hue
302°
magenta / pink
Saturation
92%
electric
Lightness
81%
light
Brightness
98%
HSV value
Perceived
80%
weighted brightness
Luminance
0.5313
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
11.63:1
Closest name
Plum
ΔE2000 5.9
Where it sits
Hue302° of 360°
Saturation92%
Lightness81%
Temperature
Warm ← → Cool49% 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#fba2f8
RGBrgb(251, 162, 248)
HSLhsl(302, 92%, 81%)
CMYKcmyk(0%, 36%, 1%, 2%)
LABlab(78.0 45.8 -29.4)
LCHlch(78.0 54.4 327.3)
OKLCHoklch(0.828 0.150 328.0)
Decimal16491256
Display P3color(display-p3 0.984 0.635 0.973)

Copy-ready code

/* CSS */
color: #fba2f8;
background-color: #fba2f8;
/* Tailwind (arbitrary) */
class="text-[#fba2f8] bg-[#fba2f8]"
/* SCSS */
$brand: #fba2f8;
/* SwiftUI */
Color(red: 0.984, green: 0.635, blue: 0.973)
/* Android */
Color.parseColor("#fba2f8")
/* Flutter */
Color(0xFFFBA2F8)
/* Python / OpenCV (BGR) */
(248, 162, 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 #fba2f8 · 11.63:1
Use #000000AAA at every size.
Aa
White text · 1.81:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.63:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fba2f8 as text scores 1.81:1 on white and 11.63:1 on black.

Accessibility — WCAG contrast

Aa
#fba2f8 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#fba2f8 on black: 11.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DB9FB
deuteranopia · #B3C5F5
tritanopia · #FFA9C2

Color scale — 50 to 950

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

#FDF2FD
#FBE4FA
#F9C3F7
#fba2f8
#F85EF3
#F628EF
#EB0AE3
#C408BD
#9D0798
#710A6D
#470644
Base = 300Lightest = 50 · #FDF2FDDarkest = 950 · #470644
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FBE4FA;
  --brand-200: #F9C3F7;
  --brand-300: #fba2f8;
  --brand-400: #F85EF3;
  --brand-500: #F628EF;
  --brand-600: #EB0AE3;
  --brand-700: #C408BD;
  --brand-800: #9D0798;
  --brand-900: #710A6D;
  --brand-950: #470644;
  --brand: #fba2f8;
  --brand-ink: #000000;
}

Colors that work with #fba2f8

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#EDC0EB
Hairlines and dividers
Muted text#9B4B98
Captions on the surface
Accent#2EC804
Second voice, not a rival
Dark variant#7A0576
Hover, pressed, headers
Light variant#FEE7FD
Selected rows, tints
Dark surface#241424
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 #fba2f8

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#A2FBA5
Analogous left#D2A2FB
Analogous right#FBA2CC
Split-complement 1#CCFBA2
Split-complement 2#A2FBD2
Triadic 1#F8FBA2
Triadic 2#A2F8FB
Tetradic#FBD2A2

RGB percentages

Red98.4%
Green63.5%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta35.5%
Yellow1.2%
Key (black)1.6%

Color previews

#fba2f8 text on a black background

contrast 11.63:1

Card sample

#fba2f8 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba2f8

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.

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

#fba2f8, answered

What color is #fba2f8?

#fba2f8 is a light electric magenta / pink, closest to Plum (ΔE2000 5.9). It sits at 302° on the hue wheel with 92% saturation and 81% lightness, which reads as neutral.

What is the RGB value of #fba2f8?

rgb(251, 162, 248) — 251 red, 162 green and 248 blue out of 255, or 98.4% / 63.5% / 97.3% by channel.

Is #fba2f8 a light or a dark color?

It is a light color. Relative luminance is 0.5313 and perceived brightness is 80%, so black text on it reaches 11.63:1.

Should I use black or white text on #fba2f8?

Black. It scores 11.63:1 against #fba2f8, versus 1.81:1 for white — AAA at any size.

What is the complementary color of #fba2f8?

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

What colors go well with #fba2f8?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B98 for secondary text, #2EC804 as an accent and #7A0576 for hover and pressed states. For a palette, the analogous pair #D2A2FB and #FBA2CC stays calm, while #A2FBA5 is the loudest partner.

What is #fba2f8 in CMYK for printing?

cmyk(0%, 36%, 1%, 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 #fba2f8 warm or cool?

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

Work with #fba2f8 in the Color Lab