Skip to content

#fd04fe

a balanced, electric magenta / pink · neutral · “Magenta”

RGB
253, 4, 254
HSL
300°, 99%, 51%
CMYK
0, 98, 0, 0
Luminance
0.2813

At a glance

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

Hex
#fd04fe
Hue
300°
magenta / pink
Saturation
99%
electric
Lightness
51%
balanced
Brightness
100%
HSV value
Perceived
64%
weighted brightness
Luminance
0.2813
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.63:1
Closest name
Magenta
ΔE2000 0.3
Where it sits
Hue300° of 360°
Saturation99%
Lightness51%
Temperature
Warm ← → Cool50% 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#fd04fe
RGBrgb(253, 4, 254)
HSLhsl(300, 99%, 51%)
CMYKcmyk(0%, 98%, 0%, 0%)
LABlab(60.0 97.6 -60.8)
LCHlch(60.0 115.0 328.1)
OKLCHoklch(0.699 0.320 328.1)
Decimal16581886
Display P3color(display-p3 0.992 0.016 0.996)

Copy-ready code

/* CSS */
color: #fd04fe;
background-color: #fd04fe;
/* Tailwind (arbitrary) */
class="text-[#fd04fe] bg-[#fd04fe]"
/* SCSS */
$brand: #fd04fe;
/* SwiftUI */
Color(red: 0.992, green: 0.016, blue: 0.996)
/* Android */
Color.parseColor("#fd04fe")
/* Flutter */
Color(0xFFFD04FE)
/* Python / OpenCV (BGR) */
(254, 4, 253)

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

Accessibility — WCAG contrast

Aa
#fd04fe on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#fd04fe on black: 6.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007FFF
deuteranopia · #679AF9
tritanopia · #FF4B96

Color scale — 50 to 950

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

#FEF1FE
#FCE3FC
#FBC0FB
#FE8FFF
#FE57FE
#FD1FFE
#fd04fe
#CB01CB
#A201A3
#750575
#490349
Base = 600Lightest = 50 · #FEF1FEDarkest = 950 · #490349
:root {
  --brand-50: #FEF1FE;
  --brand-100: #FCE3FC;
  --brand-200: #FBC0FB;
  --brand-300: #FE8FFF;
  --brand-400: #FE57FE;
  --brand-500: #FD1FFE;
  --brand-600: #fd04fe;
  --brand-700: #CB01CB;
  --brand-800: #A201A3;
  --brand-900: #750575;
  --brand-950: #490349;
  --brand: #fd04fe;
  --brand-ink: #000000;
}

Colors that work with #fd04fe

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#ECC0ED
Hairlines and dividers
Muted text#9B4B9B
Captions on the surface
Accent#34CC00
Second voice, not a rival
Dark variant#7F017F
Hover, pressed, headers
Light variant#FFE6FF
Selected rows, tints
Dark surface#241424
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 #fd04fe

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#05FE04
Analogous left#8004FE
Analogous right#FE0482
Split-complement 1#82FE04
Split-complement 2#04FE80
Triadic 1#FEFD04
Triadic 2#04FEFD
Tetradic#FE8004

RGB percentages

Red99.2%
Green1.6%
Blue99.6%

CMYK percentages

Cyan0.4%
Magenta98.4%
Yellow0.0%
Key (black)0.4%

Color previews

#fd04fe text on a black background

contrast 6.63:1

Card sample

#fd04fe text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd04fe

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.

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

#fd04fe, answered

What color is #fd04fe?

#fd04fe is a balanced electric magenta / pink — the CSS keyword Magenta. It sits at 300° on the hue wheel with 99% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #fd04fe?

rgb(253, 4, 254) — 253 red, 4 green and 254 blue out of 255, or 99.2% / 1.6% / 99.6% by channel.

Is #fd04fe a light or a dark color?

It is a mid-tone. Relative luminance is 0.2813 and perceived brightness is 64%, so black text on it reaches 6.63:1.

Should I use black or white text on #fd04fe?

Black. It scores 6.63:1 against #fd04fe, versus 3.17:1 for white — AA at any size.

What is the complementary color of #fd04fe?

#05FE04 sits directly opposite on the wheel. Softer options are the split-complements #82FE04 and #04FE80, which give the same contrast with far less vibration.

What colors go well with #fd04fe?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9B4B9B for secondary text, #34CC00 as an accent and #7F017F for hover and pressed states. For a palette, the analogous pair #8004FE and #FE0482 stays calm, while #05FE04 is the loudest partner.

What is #fd04fe in CMYK for printing?

cmyk(0%, 98%, 0%, 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 #fd04fe warm or cool?

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

Work with #fd04fe in the Color Lab