Skip to content

#fba2c7

a light, electric magenta / pink · warm · closest name: Light Pink

RGB
251, 162, 199
HSL
335°, 92%, 81%
CMYK
0, 36, 21, 2
Luminance
0.5047

At a glance

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

Hex
#fba2c7
Hue
335°
magenta / pink
Saturation
92%
electric
Lightness
81%
light
Brightness
98%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5047
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
11.09:1
Closest name
Light Pink
ΔE2000 8
Where it sits
Hue335° of 360°
Saturation92%
Lightness81%
Temperature
Warm ← → Cool30% cool

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

Every format

HEX#fba2c7
RGBrgb(251, 162, 199)
HSLhsl(335, 92%, 81%)
CMYKcmyk(0%, 36%, 21%, 2%)
LABlab(76.4 37.9 -5.1)
LCHlch(76.4 38.2 352.3)
OKLCHoklch(0.811 0.114 353.4)
Decimal16491207
Display P3color(display-p3 0.984 0.635 0.780)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fba2c7 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#fba2c7 on black: 11.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ACB3C8
deuteranopia · #C1C2C5
tritanopia · #FF9FAF

Color scale — 50 to 950

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

#FDF2F6
#FBE4EE
#F9C3D9
#fba2c7
#F85E9E
#F6287D
#EB0A67
#C40856
#9D0745
#710A34
#470621
Base = 300Lightest = 50 · #FDF2F6Darkest = 950 · #470621
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FBE4EE;
  --brand-200: #F9C3D9;
  --brand-300: #fba2c7;
  --brand-400: #F85E9E;
  --brand-500: #F6287D;
  --brand-600: #EB0A67;
  --brand-700: #C40856;
  --brand-800: #9D0745;
  --brand-900: #710A34;
  --brand-950: #470621;
  --brand: #fba2c7;
  --brand-ink: #000000;
}

Colors that work with #fba2c7

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#FAF4F7
Tinted page background
Border#EDC0D2
Hairlines and dividers
Muted text#9B4B6C
Captions on the surface
Accent#04C845
Second voice, not a rival
Dark variant#7A0536
Hover, pressed, headers
Light variant#FEE7F0
Selected rows, tints
Dark surface#24141B
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 #fba2c7

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#A2FBD6
Analogous left#FBA2F3
Analogous right#FBAAA2
Split-complement 1#A2FBAA
Split-complement 2#A2F3FB
Triadic 1#C7FBA2
Triadic 2#A2C7FB
Tetradic#F3FBA2

RGB percentages

Red98.4%
Green63.5%
Blue78.0%

CMYK percentages

Cyan0.0%
Magenta35.5%
Yellow20.7%
Key (black)1.6%

Color previews

#fba2c7 text on a black background

contrast 11.09:1

Card sample

#fba2c7 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fba2c7

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.

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

#fba2c7, answered

What color is #fba2c7?

#fba2c7 is a light electric magenta / pink, closest to Light Pink (ΔE2000 8). It sits at 335° on the hue wheel with 92% saturation and 81% lightness, which reads as warm.

What is the RGB value of #fba2c7?

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

Is #fba2c7 a light or a dark color?

It is a light color. Relative luminance is 0.5047 and perceived brightness is 77%, so black text on it reaches 11.09:1.

Should I use black or white text on #fba2c7?

Black. It scores 11.09:1 against #fba2c7, versus 1.89:1 for white — AAA at any size.

What is the complementary color of #fba2c7?

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

What colors go well with #fba2c7?

For interface work: #FAF4F7 as the surface, #EDC0D2 for borders, #9B4B6C for secondary text, #04C845 as an accent and #7A0536 for hover and pressed states. For a palette, the analogous pair #FBA2F3 and #FBAAA2 stays calm, while #A2FBD6 is the loudest partner.

What is #fba2c7 in CMYK for printing?

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

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FBA2A6; nudged cooler, #FCA1E8.

Work with #fba2c7 in the Color Lab