Skip to content

#fc47eb

a balanced, electric magenta / pink · neutral · closest name: Magenta

RGB
252, 71, 235
HSL
306°, 97%, 63%
CMYK
0, 72, 7, 1
Luminance
0.3120

At a glance

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

Hex
#fc47eb
Hue
306°
magenta / pink
Saturation
97%
electric
Lightness
63%
balanced
Brightness
99%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3120
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.24:1
Closest name
Magenta
ΔE2000 4.4
Where it sits
Hue306° of 360°
Saturation97%
Lightness63%
Temperature
Warm ← → Cool47% 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#fc47eb
RGBrgb(252, 71, 235)
HSLhsl(306, 97%, 63%)
CMYKcmyk(0%, 72%, 7%, 1%)
LABlab(62.7 83.5 -46.0)
LCHlch(62.7 95.3 331.1)
OKLCHoklch(0.714 0.271 332.2)
Decimal16533483
Display P3color(display-p3 0.988 0.278 0.922)

Copy-ready code

/* CSS */
color: #fc47eb;
background-color: #fc47eb;
/* Tailwind (arbitrary) */
class="text-[#fc47eb] bg-[#fc47eb]"
/* SCSS */
$brand: #fc47eb;
/* SwiftUI */
Color(red: 0.988, green: 0.278, blue: 0.922)
/* Android */
Color.parseColor("#fc47eb")
/* Flutter */
Color(0xFFFC47EB)
/* Python / OpenCV (BGR) */
(235, 71, 252)

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

Accessibility — WCAG contrast

Aa
#fc47eb on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#fc47eb on black: 7.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3B87EF
deuteranopia · #82A1E7
tritanopia · #FF5B95

Color scale — 50 to 950

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

#FDF1FC
#FCE4FA
#FBC1F5
#FD91F3
#fc47eb
#FB22E7
#F104DB
#C903B6
#A10392
#74076A
#480442
Base = 400Lightest = 50 · #FDF1FCDarkest = 950 · #480442
:root {
  --brand-50: #FDF1FC;
  --brand-100: #FCE4FA;
  --brand-200: #FBC1F5;
  --brand-300: #FD91F3;
  --brand-400: #fc47eb;
  --brand-500: #FB22E7;
  --brand-600: #F104DB;
  --brand-700: #C903B6;
  --brand-800: #A10392;
  --brand-900: #74076A;
  --brand-950: #480442;
  --brand: #fc47eb;
  --brand-ink: #000000;
}

Colors that work with #fc47eb

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#EDC0E8
Hairlines and dividers
Muted text#9B4B93
Captions on the surface
Accent#20CC00
Second voice, not a rival
Dark variant#7D0272
Hover, pressed, headers
Light variant#FFE6FC
Selected rows, tints
Dark surface#241423
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 #fc47eb

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
  • 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
  • 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#47FC58
Analogous left#B247FC
Analogous right#FC4791
Split-complement 1#91FC47
Split-complement 2#47FCB2
Triadic 1#EBFC47
Triadic 2#47EBFC
Tetradic#FCB247

RGB percentages

Red98.8%
Green27.8%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta71.8%
Yellow6.7%
Key (black)1.2%

Color previews

#fc47eb text on a black background

contrast 7.24:1

Card sample

#fc47eb text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 71, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 71, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fc47eb;
background: linear-gradient(135deg, #fc47eb, #FC4772);

Monochromatic scale

Palettes built from #fc47eb

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.

#fc47eb 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
ButtonsLinksFocus statesCharts
Print note

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

#fc47eb, answered

What color is #fc47eb?

#fc47eb is a balanced electric magenta / pink, closest to Magenta (ΔE2000 4.4). It sits at 306° on the hue wheel with 97% saturation and 63% lightness, which reads as neutral.

What is the RGB value of #fc47eb?

rgb(252, 71, 235) — 252 red, 71 green and 235 blue out of 255, or 98.8% / 27.8% / 92.2% by channel.

Is #fc47eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3120 and perceived brightness is 66%, so black text on it reaches 7.24:1.

Should I use black or white text on #fc47eb?

Black. It scores 7.24:1 against #fc47eb, versus 2.90:1 for white — AAA at any size.

What is the complementary color of #fc47eb?

#47FC58 sits directly opposite on the wheel. Softer options are the split-complements #91FC47 and #47FCB2, which give the same contrast with far less vibration.

What colors go well with #fc47eb?

For interface work: #FAF4FA as the surface, #EDC0E8 for borders, #9B4B93 for secondary text, #20CC00 as an accent and #7D0272 for hover and pressed states. For a palette, the analogous pair #B247FC and #FC4791 stays calm, while #47FC58 is the loudest partner.

What is #fc47eb in CMYK for printing?

cmyk(0%, 72%, 7%, 1%). 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 #fc47eb warm or cool?

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

Work with #fc47eb in the Color Lab