Skip to content

#fe8ac2

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

RGB
254, 138, 194
HSL
331°, 98%, 77%
CMYK
0, 46, 24, 0
Luminance
0.4314

At a glance

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

Hex
#fe8ac2
Hue
331°
magenta / pink
Saturation
98%
electric
Lightness
77%
light
Brightness
100%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4314
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.63:1
Closest name
Hot Pink
ΔE2000 6.2
Where it sits
Hue331° of 360°
Saturation98%
Lightness77%
Temperature
Warm ← → Cool33% 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#fe8ac2
RGBrgb(254, 138, 194)
HSLhsl(331, 98%, 77%)
CMYKcmyk(0%, 46%, 24%, 0%)
LABlab(71.7 50.4 -9.3)
LCHlch(71.7 51.2 349.5)
OKLCHoklch(0.776 0.153 351.0)
Decimal16681666
Display P3color(display-p3 0.996 0.541 0.761)

Copy-ready code

/* CSS */
color: #fe8ac2;
background-color: #fe8ac2;
/* Tailwind (arbitrary) */
class="text-[#fe8ac2] bg-[#fe8ac2]"
/* SCSS */
$brand: #fe8ac2;
/* SwiftUI */
Color(red: 0.996, green: 0.541, blue: 0.761)
/* Android */
Color.parseColor("#fe8ac2")
/* Flutter */
Color(0xFFFE8AC2)
/* Python / OpenCV (BGR) */
(194, 138, 254)

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

Accessibility — WCAG contrast

Aa
#fe8ac2 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#fe8ac2 on black: 9.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #97A3C4
deuteranopia · #B5B7BF
tritanopia · #FF869F

Color scale — 50 to 950

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

#FDF1F7
#FCE3EF
#FBC1DD
#fe8ac2
#FE58A8
#FD218B
#F30276
#CA0263
#A2014F
#75063B
#490425
Base = 300Lightest = 50 · #FDF1F7Darkest = 950 · #490425
:root {
  --brand-50: #FDF1F7;
  --brand-100: #FCE3EF;
  --brand-200: #FBC1DD;
  --brand-300: #fe8ac2;
  --brand-400: #FE58A8;
  --brand-500: #FD218B;
  --brand-600: #F30276;
  --brand-700: #CA0263;
  --brand-800: #A2014F;
  --brand-900: #75063B;
  --brand-950: #490425;
  --brand: #fe8ac2;
  --brand-ink: #000000;
}

Colors that work with #fe8ac2

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#EDC0D5
Hairlines and dividers
Muted text#9B4B71
Captions on the surface
Accent#00CC37
Second voice, not a rival
Dark variant#7E013E
Hover, pressed, headers
Light variant#FFE6F2
Selected rows, tints
Dark surface#24141C
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 #fe8ac2

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#8AFEC6
Analogous left#FE8AFC
Analogous right#FE8C8A
Split-complement 1#8AFE8C
Split-complement 2#8AFCFE
Triadic 1#C2FE8A
Triadic 2#8AC2FE
Tetradic#FCFE8A

RGB percentages

Red99.6%
Green54.1%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta45.7%
Yellow23.6%
Key (black)0.4%

Color previews

#fe8ac2 text on a black background

contrast 9.63:1

Card sample

#fe8ac2 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 138, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 138, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fe8ac2;
background: linear-gradient(135deg, #fe8ac2, #FE9F8A);

Monochromatic scale

Palettes built from #fe8ac2

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.

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

#fe8ac2, answered

What color is #fe8ac2?

#fe8ac2 is a light electric magenta / pink, closest to Hot Pink (ΔE2000 6.2). It sits at 331° on the hue wheel with 98% saturation and 77% lightness, which reads as warm.

What is the RGB value of #fe8ac2?

rgb(254, 138, 194) — 254 red, 138 green and 194 blue out of 255, or 99.6% / 54.1% / 76.1% by channel.

Is #fe8ac2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4314 and perceived brightness is 73%, so black text on it reaches 9.63:1.

Should I use black or white text on #fe8ac2?

Black. It scores 9.63:1 against #fe8ac2, versus 2.18:1 for white — AAA at any size.

What is the complementary color of #fe8ac2?

#8AFEC6 sits directly opposite on the wheel. Softer options are the split-complements #8AFE8C and #8AFCFE, which give the same contrast with far less vibration.

What colors go well with #fe8ac2?

For interface work: #FAF4F7 as the surface, #EDC0D5 for borders, #9B4B71 for secondary text, #00CC37 as an accent and #7E013E for hover and pressed states. For a palette, the analogous pair #FE8AFC and #FE8C8A stays calm, while #8AFEC6 is the loudest partner.

What is #fe8ac2 in CMYK for printing?

cmyk(0%, 46%, 24%, 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 #fe8ac2 warm or cool?

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

Work with #fe8ac2 in the Color Lab