Skip to content

#fe3af0

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

RGB
254, 58, 240
HSL
304°, 99%, 61%
CMYK
0, 77, 6, 0
Luminance
0.3039

At a glance

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

Hex
#fe3af0
Hue
304°
magenta / pink
Saturation
99%
electric
Lightness
61%
balanced
Brightness
100%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3039
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.08:1
Closest name
Magenta
ΔE2000 3.2
Where it sits
Hue304° of 360°
Saturation99%
Lightness61%
Temperature
Warm ← → Cool48% 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#fe3af0
RGBrgb(254, 58, 240)
HSLhsl(304, 99%, 61%)
CMYKcmyk(0%, 77%, 6%, 0%)
LABlab(62.0 88.2 -49.9)
LCHlch(62.0 101.3 330.5)
OKLCHoklch(0.711 0.287 331.4)
Decimal16661232
Display P3color(display-p3 0.996 0.227 0.941)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe3af0 on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#fe3af0 on black: 7.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2385F5
deuteranopia · #7C9FEB
tritanopia · #FF5595

Color scale — 50 to 950

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

#FEF1FD
#FCE3FA
#FBC0F7
#FE8FF6
#FE58F2
#fe3af0
#F401E2
#CB01BD
#A20197
#75056D
#490344
Base = 500Lightest = 50 · #FEF1FDDarkest = 950 · #490344
:root {
  --brand-50: #FEF1FD;
  --brand-100: #FCE3FA;
  --brand-200: #FBC0F7;
  --brand-300: #FE8FF6;
  --brand-400: #FE58F2;
  --brand-500: #fe3af0;
  --brand-600: #F401E2;
  --brand-700: #CB01BD;
  --brand-800: #A20197;
  --brand-900: #75056D;
  --brand-950: #490344;
  --brand: #fe3af0;
  --brand-ink: #000000;
}

Colors that work with #fe3af0

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#EDC0E9
Hairlines and dividers
Muted text#9B4B95
Captions on the surface
Accent#24CC00
Second voice, not a rival
Dark variant#7F0176
Hover, pressed, headers
Light variant#FFE6FD
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 #fe3af0

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#3AFE48
Analogous left#AA3AFE
Analogous right#FE3A8E
Split-complement 1#8EFE3A
Split-complement 2#3AFEAA
Triadic 1#F0FE3A
Triadic 2#3AF0FE
Tetradic#FEAA3A

RGB percentages

Red99.6%
Green22.7%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta77.2%
Yellow5.5%
Key (black)0.4%

Color previews

#fe3af0 text on a black background

contrast 7.08:1

Card sample

#fe3af0 text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe3af0

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.

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

#fe3af0, answered

What color is #fe3af0?

#fe3af0 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 3.2). It sits at 304° on the hue wheel with 99% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #fe3af0?

rgb(254, 58, 240) — 254 red, 58 green and 240 blue out of 255, or 99.6% / 22.7% / 94.1% by channel.

Is #fe3af0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3039 and perceived brightness is 65%, so black text on it reaches 7.08:1.

Should I use black or white text on #fe3af0?

Black. It scores 7.08:1 against #fe3af0, versus 2.97:1 for white — AAA at any size.

What is the complementary color of #fe3af0?

#3AFE48 sits directly opposite on the wheel. Softer options are the split-complements #8EFE3A and #3AFEAA, which give the same contrast with far less vibration.

What colors go well with #fe3af0?

For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B95 for secondary text, #24CC00 as an accent and #7F0176 for hover and pressed states. For a palette, the analogous pair #AA3AFE and #FE3A8E stays calm, while #3AFE48 is the loudest partner.

What is #fe3af0 in CMYK for printing?

cmyk(0%, 77%, 6%, 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 #fe3af0 warm or cool?

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

Work with #fe3af0 in the Color Lab