Skip to content

#ff41eb

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

RGB
255, 65, 235
HSL
306°, 100%, 63%
CMYK
0, 75, 8, 0
Luminance
0.3104

At a glance

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

Hex
#ff41eb
Hue
306°
magenta / pink
Saturation
100%
electric
Lightness
63%
balanced
Brightness
100%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3104
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.21:1
Closest name
Magenta
ΔE2000 4.2
Where it sits
Hue306° of 360°
Saturation100%
Lightness63%
Temperature
Warm ← → Cool47% 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#ff41eb
RGBrgb(255, 65, 235)
HSLhsl(306, 100%, 63%)
CMYKcmyk(0%, 75%, 8%, 0%)
LABlab(62.5 85.8 -46.2)
LCHlch(62.5 97.5 331.7)
OKLCHoklch(0.714 0.278 332.9)
Decimal16728555
Display P3color(display-p3 1.000 0.255 0.922)

Copy-ready code

/* CSS */
color: #ff41eb;
background-color: #ff41eb;
/* Tailwind (arbitrary) */
class="text-[#ff41eb] bg-[#ff41eb]"
/* SCSS */
$brand: #ff41eb;
/* SwiftUI */
Color(red: 1.000, green: 0.255, blue: 0.922)
/* Android */
Color.parseColor("#ff41eb")
/* Flutter */
Color(0xFFFF41EB)
/* Python / OpenCV (BGR) */
(235, 65, 255)

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

Accessibility — WCAG contrast

Aa
#ff41eb on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#ff41eb on black: 7.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3786F0
deuteranopia · #82A1E7
tritanopia · #FF5693

Color scale — 50 to 950

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

#FEF1FC
#FCE3FA
#FCC0F5
#FF8FF3
#ff41eb
#FF1FE7
#F500DB
#CC00B7
#A30092
#76056A
#490342
Base = 400Lightest = 50 · #FEF1FCDarkest = 950 · #490342
:root {
  --brand-50: #FEF1FC;
  --brand-100: #FCE3FA;
  --brand-200: #FCC0F5;
  --brand-300: #FF8FF3;
  --brand-400: #ff41eb;
  --brand-500: #FF1FE7;
  --brand-600: #F500DB;
  --brand-700: #CC00B7;
  --brand-800: #A30092;
  --brand-900: #76056A;
  --brand-950: #490342;
  --brand: #ff41eb;
  --brand-ink: #000000;
}

Colors that work with #ff41eb

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#1DCC00
Second voice, not a rival
Dark variant#800072
Hover, pressed, headers
Light variant#FFE5FC
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 #ff41eb

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#41FF55
Analogous left#B441FF
Analogous right#FF418C
Split-complement 1#8CFF41
Split-complement 2#41FFB4
Triadic 1#EBFF41
Triadic 2#41EBFF
Tetradic#FFB441

RGB percentages

Red100.0%
Green25.5%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta74.5%
Yellow7.8%
Key (black)0.0%

Color previews

#ff41eb text on a black background

contrast 7.21:1

Card sample

#ff41eb text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 65, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 65, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff41eb;
background: linear-gradient(135deg, #ff41eb, #FF416C);

Monochromatic scale

Palettes built from #ff41eb

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.

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

#ff41eb, answered

What color is #ff41eb?

#ff41eb is a balanced electric magenta / pink, closest to Magenta (ΔE2000 4.2). It sits at 306° on the hue wheel with 100% saturation and 63% lightness, which reads as neutral.

What is the RGB value of #ff41eb?

rgb(255, 65, 235) — 255 red, 65 green and 235 blue out of 255, or 100% / 25.5% / 92.2% by channel.

Is #ff41eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3104 and perceived brightness is 66%, so black text on it reaches 7.21:1.

Should I use black or white text on #ff41eb?

Black. It scores 7.21:1 against #ff41eb, versus 2.91:1 for white — AAA at any size.

What is the complementary color of #ff41eb?

#41FF55 sits directly opposite on the wheel. Softer options are the split-complements #8CFF41 and #41FFB4, which give the same contrast with far less vibration.

What colors go well with #ff41eb?

For interface work: #FAF4FA as the surface, #EDC0E8 for borders, #9B4B92 for secondary text, #1DCC00 as an accent and #800072 for hover and pressed states. For a palette, the analogous pair #B441FF and #FF418C stays calm, while #41FF55 is the loudest partner.

What is #ff41eb in CMYK for printing?

cmyk(0%, 75%, 8%, 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 #ff41eb warm or cool?

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

Work with #ff41eb in the Color Lab