Skip to content

#fe7aef

a light, electric magenta / pink · neutral · closest name: Violet

RGB
254, 122, 239
HSL
307°, 99%, 74%
CMYK
0, 52, 6, 0
Luminance
0.4122

At a glance

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

Hex
#fe7aef
Hue
307°
magenta / pink
Saturation
99%
electric
Lightness
74%
light
Brightness
100%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4122
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.24:1
Closest name
Violet
ΔE2000 2.7
Where it sits
Hue307° of 360°
Saturation99%
Lightness74%
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#fe7aef
RGBrgb(254, 122, 239)
HSLhsl(307, 99%, 74%)
CMYKcmyk(0%, 52%, 6%, 0%)
LABlab(70.3 64.8 -36.2)
LCHlch(70.3 74.2 330.8)
OKLCHoklch(0.771 0.209 331.9)
Decimal16677615
Display P3color(display-p3 0.996 0.478 0.937)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe7aef on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#fe7aef on black: 9.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #75A0F3
deuteranopia · #9CB3EB
tritanopia · #FF84AA

Color scale — 50 to 950

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

#FEF1FC
#FCE3F9
#FBC1F5
#fe7aef
#FE58EB
#FD20E4
#F302D8
#CA02B4
#A20190
#750668
#490441
Base = 300Lightest = 50 · #FEF1FCDarkest = 950 · #490441
:root {
  --brand-50: #FEF1FC;
  --brand-100: #FCE3F9;
  --brand-200: #FBC1F5;
  --brand-300: #fe7aef;
  --brand-400: #FE58EB;
  --brand-500: #FD20E4;
  --brand-600: #F302D8;
  --brand-700: #CA02B4;
  --brand-800: #A20190;
  --brand-900: #750668;
  --brand-950: #490441;
  --brand: #fe7aef;
  --brand-ink: #000000;
}

Colors that work with #fe7aef

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#9B4B92
Captions on the surface
Accent#1CCC00
Second voice, not a rival
Dark variant#7F0170
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 #fe7aef

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#7AFE89
Analogous left#CB7AFE
Analogous right#FE7AAD
Split-complement 1#ADFE7A
Split-complement 2#7AFECB
Triadic 1#EFFE7A
Triadic 2#7AEFFE
Tetradic#FECB7A

RGB percentages

Red99.6%
Green47.8%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta52.0%
Yellow5.9%
Key (black)0.4%

Color previews

#fe7aef text on a black background

contrast 9.24:1

Card sample

#fe7aef text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe7aef

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.

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

#fe7aef, answered

What color is #fe7aef?

#fe7aef is a light electric magenta / pink, closest to Violet (ΔE2000 2.7). It sits at 307° on the hue wheel with 99% saturation and 74% lightness, which reads as neutral.

What is the RGB value of #fe7aef?

rgb(254, 122, 239) — 254 red, 122 green and 239 blue out of 255, or 99.6% / 47.8% / 93.7% by channel.

Is #fe7aef a light or a dark color?

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

Should I use black or white text on #fe7aef?

Black. It scores 9.24:1 against #fe7aef, versus 2.27:1 for white — AAA at any size.

What is the complementary color of #fe7aef?

#7AFE89 sits directly opposite on the wheel. Softer options are the split-complements #ADFE7A and #7AFECB, which give the same contrast with far less vibration.

What colors go well with #fe7aef?

For interface work: #FAF4FA as the surface, #EDC0E8 for borders, #9B4B92 for secondary text, #1CCC00 as an accent and #7F0170 for hover and pressed states. For a palette, the analogous pair #CB7AFE and #FE7AAD stays calm, while #7AFE89 is the loudest partner.

What is #fe7aef in CMYK for printing?

cmyk(0%, 52%, 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 #fe7aef 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 #FE7ABF; nudged cooler, #DD79FF.

Work with #fe7aef in the Color Lab