Skip to content

#fea7f2

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

RGB
254, 167, 242
HSL
308°, 98%, 83%
CMYK
0, 34, 5, 0
Luminance
0.5512

At a glance

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

Hex
#fea7f2
Hue
308°
magenta / pink
Saturation
98%
electric
Lightness
83%
light
Brightness
100%
HSV value
Perceived
81%
weighted brightness
Luminance
0.5512
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
12.02:1
Closest name
Plum
ΔE2000 5.7
Where it sits
Hue308° of 360°
Saturation98%
Lightness83%
Temperature
Warm ← → Cool45% 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#fea7f2
RGBrgb(254, 167, 242)
HSLhsl(308, 98%, 83%)
CMYKcmyk(0%, 34%, 5%, 0%)
LABlab(79.1 43.1 -24.3)
LCHlch(79.1 49.5 330.6)
OKLCHoklch(0.837 0.139 331.8)
Decimal16689138
Display P3color(display-p3 0.996 0.655 0.949)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fea7f2 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#fea7f2 on black: 12.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A5BCF5
deuteranopia · #BBC8EF
tritanopia · #FFACC2

Color scale — 50 to 950

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

#FDF1FC
#FCE3F9
#fea7f2
#FE90EF
#FD59E6
#FD21DE
#F203D1
#CA02AE
#A1028B
#740665
#49043F
Base = 200Lightest = 50 · #FDF1FCDarkest = 950 · #49043F
:root {
  --brand-50: #FDF1FC;
  --brand-100: #FCE3F9;
  --brand-200: #fea7f2;
  --brand-300: #FE90EF;
  --brand-400: #FD59E6;
  --brand-500: #FD21DE;
  --brand-600: #F203D1;
  --brand-700: #CA02AE;
  --brand-800: #A1028B;
  --brand-900: #740665;
  --brand-950: #49043F;
  --brand: #fea7f2;
  --brand-ink: #000000;
}

Colors that work with #fea7f2

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#EDC0E6
Hairlines and dividers
Muted text#9B4B90
Captions on the surface
Accent#17CC00
Second voice, not a rival
Dark variant#7E016D
Hover, pressed, headers
Light variant#FFE6FB
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 #fea7f2

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#A7FEB3
Analogous left#DEA7FE
Analogous right#FEA7C6
Split-complement 1#C6FEA7
Split-complement 2#A7FEDE
Triadic 1#F2FEA7
Triadic 2#A7F2FE
Tetradic#FEDEA7

RGB percentages

Red99.6%
Green65.5%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta34.3%
Yellow4.7%
Key (black)0.4%

Color previews

#fea7f2 text on a black background

contrast 12.02:1

Card sample

#fea7f2 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fea7f2

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.

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

#fea7f2, answered

What color is #fea7f2?

#fea7f2 is a light electric magenta / pink, closest to Plum (ΔE2000 5.7). It sits at 308° on the hue wheel with 98% saturation and 83% lightness, which reads as neutral.

What is the RGB value of #fea7f2?

rgb(254, 167, 242) — 254 red, 167 green and 242 blue out of 255, or 99.6% / 65.5% / 94.9% by channel.

Is #fea7f2 a light or a dark color?

It is a light color. Relative luminance is 0.5512 and perceived brightness is 81%, so black text on it reaches 12.02:1.

Should I use black or white text on #fea7f2?

Black. It scores 12.02:1 against #fea7f2, versus 1.75:1 for white — AAA at any size.

What is the complementary color of #fea7f2?

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

What colors go well with #fea7f2?

For interface work: #FAF4FA as the surface, #EDC0E6 for borders, #9B4B90 for secondary text, #17CC00 as an accent and #7E016D for hover and pressed states. For a palette, the analogous pair #DEA7FE and #FEA7C6 stays calm, while #A7FEB3 is the loudest partner.

What is #fea7f2 in CMYK for printing?

cmyk(0%, 34%, 5%, 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 #fea7f2 warm or cool?

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

Work with #fea7f2 in the Color Lab