Skip to content

#fd3aef

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

RGB
253, 58, 239
HSL
304°, 98%, 61%
CMYK
0, 77, 6, 1
Luminance
0.3014

At a glance

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

Hex
#fd3aef
Hue
304°
magenta / pink
Saturation
98%
electric
Lightness
61%
balanced
Brightness
99%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3014
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.03:1
Closest name
Magenta
ΔE2000 3.1
Where it sits
Hue304° of 360°
Saturation98%
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#fd3aef
RGBrgb(253, 58, 239)
HSLhsl(304, 98%, 61%)
CMYKcmyk(0%, 77%, 6%, 1%)
LABlab(61.8 87.9 -49.6)
LCHlch(61.8 100.9 330.5)
OKLCHoklch(0.709 0.286 331.4)
Decimal16595695
Display P3color(display-p3 0.992 0.227 0.937)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd3aef on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#fd3aef on black: 7.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2484F4
deuteranopia · #7C9FEA
tritanopia · #FF5594

Color scale — 50 to 950

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

#FDF1FD
#FCE3FA
#FBC1F7
#FE90F6
#FD58F1
#fd3aef
#F202E1
#CA02BC
#A20296
#74066C
#490444
Base = 500Lightest = 50 · #FDF1FDDarkest = 950 · #490444
:root {
  --brand-50: #FDF1FD;
  --brand-100: #FCE3FA;
  --brand-200: #FBC1F7;
  --brand-300: #FE90F6;
  --brand-400: #FD58F1;
  --brand-500: #fd3aef;
  --brand-600: #F202E1;
  --brand-700: #CA02BC;
  --brand-800: #A20296;
  --brand-900: #74066C;
  --brand-950: #490444;
  --brand: #fd3aef;
  --brand-ink: #000000;
}

Colors that work with #fd3aef

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#25CC00
Second voice, not a rival
Dark variant#7E0175
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 #fd3aef

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#3AFD48
Analogous left#AA3AFD
Analogous right#FD3A8E
Split-complement 1#8EFD3A
Split-complement 2#3AFDAA
Triadic 1#EFFD3A
Triadic 2#3AEFFD
Tetradic#FDAA3A

RGB percentages

Red99.2%
Green22.7%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow5.5%
Key (black)0.8%

Color previews

#fd3aef text on a black background

contrast 7.03:1

Card sample

#fd3aef text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd3aef

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.

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

#fd3aef, answered

What color is #fd3aef?

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

What is the RGB value of #fd3aef?

rgb(253, 58, 239) — 253 red, 58 green and 239 blue out of 255, or 99.2% / 22.7% / 93.7% by channel.

Is #fd3aef a light or a dark color?

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

Should I use black or white text on #fd3aef?

Black. It scores 7.03:1 against #fd3aef, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #fd3aef?

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

What colors go well with #fd3aef?

For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B95 for secondary text, #25CC00 as an accent and #7E0175 for hover and pressed states. For a palette, the analogous pair #AA3AFD and #FD3A8E stays calm, while #3AFD48 is the loudest partner.

What is #fd3aef in CMYK for printing?

cmyk(0%, 77%, 6%, 1%). 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 #fd3aef 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 #FD3AA8; nudged cooler, #C438FF.

Work with #fd3aef in the Color Lab