Skip to content

#ffbaf6

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

RGB
255, 186, 246
HSL
308°, 100%, 87%
CMYK
0, 27, 4, 0
Luminance
0.6303

At a glance

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

Hex
#ffbaf6
Hue
308°
magenta / pink
Saturation
100%
electric
Lightness
87%
pale
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6303
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
13.61:1
Closest name
Plum
ΔE2000 7.3
Where it sits
Hue308° of 360°
Saturation100%
Lightness87%
Temperature
Warm ← → Cool46% 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#ffbaf6
RGBrgb(255, 186, 246)
HSLhsl(308, 100%, 87%)
CMYKcmyk(0%, 27%, 4%, 0%)
LABlab(83.5 34.2 -19.9)
LCHlch(83.5 39.6 329.9)
OKLCHoklch(0.871 0.110 331.0)
Decimal16759542
Display P3color(display-p3 1.000 0.729 0.965)

Copy-ready code

/* CSS */
color: #ffbaf6;
background-color: #ffbaf6;
/* Tailwind (arbitrary) */
class="text-[#ffbaf6] bg-[#ffbaf6]"
/* SCSS */
$brand: #ffbaf6;
/* SwiftUI */
Color(red: 1.000, green: 0.729, blue: 0.965)
/* Android */
Color.parseColor("#ffbaf6")
/* Flutter */
Color(0xFFFFBAF6)
/* Python / OpenCV (BGR) */
(246, 186, 255)

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

Accessibility — WCAG contrast

Aa
#ffbaf6 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#ffbaf6 on black: 13.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8CAF8
deuteranopia · #C8D3F4
tritanopia · #FFBECF

Color scale — 50 to 950

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

#FEF1FC
#FCE3F9
#ffbaf6
#FF8FF0
#FF57E9
#FF1FE2
#F500D5
#CC00B1
#A3008E
#760567
#490340
Base = 200Lightest = 50 · #FEF1FCDarkest = 950 · #490340
:root {
  --brand-50: #FEF1FC;
  --brand-100: #FCE3F9;
  --brand-200: #ffbaf6;
  --brand-300: #FF8FF0;
  --brand-400: #FF57E9;
  --brand-500: #FF1FE2;
  --brand-600: #F500D5;
  --brand-700: #CC00B1;
  --brand-800: #A3008E;
  --brand-900: #760567;
  --brand-950: #490340;
  --brand: #ffbaf6;
  --brand-ink: #000000;
}

Colors that work with #ffbaf6

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#EDC0E7
Hairlines and dividers
Muted text#9B4B90
Captions on the surface
Accent#18CC00
Second voice, not a rival
Dark variant#80006F
Hover, pressed, headers
Light variant#FFE5FC
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 #ffbaf6

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#BAFFC3
Analogous left#E6BAFF
Analogous right#FFBAD4
Split-complement 1#D4FFBA
Split-complement 2#BAFFE6
Triadic 1#F6FFBA
Triadic 2#BAF6FF
Tetradic#FFE6BA

RGB percentages

Red100.0%
Green72.9%
Blue96.5%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow3.5%
Key (black)0.0%

Color previews

#ffbaf6 text on a black background

contrast 13.61:1

Card sample

#ffbaf6 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 186, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 186, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffbaf6;
background: linear-gradient(135deg, #ffbaf6, #FFBAC8);

Monochromatic scale

Palettes built from #ffbaf6

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.

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

#ffbaf6, answered

What color is #ffbaf6?

#ffbaf6 is a pale electric magenta / pink, closest to Plum (ΔE2000 7.3). It sits at 308° on the hue wheel with 100% saturation and 87% lightness, which reads as neutral.

What is the RGB value of #ffbaf6?

rgb(255, 186, 246) — 255 red, 186 green and 246 blue out of 255, or 100% / 72.9% / 96.5% by channel.

Is #ffbaf6 a light or a dark color?

It is a light color. Relative luminance is 0.6303 and perceived brightness is 85%, so black text on it reaches 13.61:1.

Should I use black or white text on #ffbaf6?

Black. It scores 13.61:1 against #ffbaf6, versus 1.54:1 for white — AAA at any size.

What is the complementary color of #ffbaf6?

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

What colors go well with #ffbaf6?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B90 for secondary text, #18CC00 as an accent and #80006F for hover and pressed states. For a palette, the analogous pair #E6BAFF and #FFBAD4 stays calm, while #BAFFC3 is the loudest partner.

What is #ffbaf6 in CMYK for printing?

cmyk(0%, 27%, 4%, 0%). 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 #ffbaf6 warm or cool?

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

Work with #ffbaf6 in the Color Lab