Skip to content

#f752ec

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

RGB
247, 82, 236
HSL
304°, 91%, 65%
CMYK
0, 67, 5, 3
Luminance
0.3186

At a glance

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

Hex
#f752ec
Hue
304°
magenta / pink
Saturation
91%
electric
Lightness
65%
balanced
Brightness
97%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3186
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.37:1
Closest name
Magenta
ΔE2000 5.1
Where it sits
Hue304° of 360°
Saturation91%
Lightness65%
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#f752ec
RGBrgb(247, 82, 236)
HSLhsl(304, 91%, 65%)
CMYKcmyk(0%, 67%, 5%, 3%)
LABlab(63.2 78.9 -45.7)
LCHlch(63.2 91.2 329.9)
OKLCHoklch(0.717 0.257 330.7)
Decimal16208620
Display P3color(display-p3 0.969 0.322 0.925)

Copy-ready code

/* CSS */
color: #f752ec;
background-color: #f752ec;
/* Tailwind (arbitrary) */
class="text-[#f752ec] bg-[#f752ec]"
/* SCSS */
$brand: #f752ec;
/* SwiftUI */
Color(red: 0.969, green: 0.322, blue: 0.925)
/* Android */
Color.parseColor("#f752ec")
/* Flutter */
Color(0xFFF752EC)
/* Python / OpenCV (BGR) */
(236, 82, 247)

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

Accessibility — WCAG contrast

Aa
#f752ec on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#f752ec on black: 7.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #448AF0
deuteranopia · #82A1E8
tritanopia · #FF6599

Color scale — 50 to 950

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

#FDF2FC
#FBE5F9
#F9C3F5
#FA94F3
#f752ec
#F528E7
#EA0BDB
#C309B7
#9C0792
#710A6A
#460642
Base = 400Lightest = 50 · #FDF2FCDarkest = 950 · #460642
:root {
  --brand-50: #FDF2FC;
  --brand-100: #FBE5F9;
  --brand-200: #F9C3F5;
  --brand-300: #FA94F3;
  --brand-400: #f752ec;
  --brand-500: #F528E7;
  --brand-600: #EA0BDB;
  --brand-700: #C309B7;
  --brand-800: #9C0792;
  --brand-900: #710A6A;
  --brand-950: #460642;
  --brand: #f752ec;
  --brand-ink: #000000;
}

Colors that work with #f752ec

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#EDC0EA
Hairlines and dividers
Muted text#9B4B96
Captions on the surface
Accent#29C804
Second voice, not a rival
Dark variant#7A0672
Hover, pressed, headers
Light variant#FEE7FC
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 #f752ec

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#52F75D
Analogous left#AF52F7
Analogous right#F75299
Split-complement 1#99F752
Split-complement 2#52F7AF
Triadic 1#ECF752
Triadic 2#52ECF7
Tetradic#F7AF52

RGB percentages

Red96.9%
Green32.2%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta66.8%
Yellow4.5%
Key (black)3.1%

Color previews

#f752ec text on a black background

contrast 7.37:1

Card sample

#f752ec text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(247, 82, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 82, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f752ec;
background: linear-gradient(135deg, #f752ec, #F7527E);

Monochromatic scale

Palettes built from #f752ec

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.

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

#f752ec, answered

What color is #f752ec?

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

What is the RGB value of #f752ec?

rgb(247, 82, 236) — 247 red, 82 green and 236 blue out of 255, or 96.9% / 32.2% / 92.5% by channel.

Is #f752ec a light or a dark color?

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

Should I use black or white text on #f752ec?

Black. It scores 7.37:1 against #f752ec, versus 2.85:1 for white — AAA at any size.

What is the complementary color of #f752ec?

#52F75D sits directly opposite on the wheel. Softer options are the split-complements #99F752 and #52F7AF, which give the same contrast with far less vibration.

What colors go well with #f752ec?

For interface work: #FAF4FA as the surface, #EDC0EA for borders, #9B4B96 for secondary text, #29C804 as an accent and #7A0672 for hover and pressed states. For a palette, the analogous pair #AF52F7 and #F75299 stays calm, while #52F75D is the loudest partner.

What is #f752ec in CMYK for printing?

cmyk(0%, 67%, 5%, 3%). 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 #f752ec 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 #F752AF; nudged cooler, #C650F9.

Work with #f752ec in the Color Lab