Skip to content

#f45ffc

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

RGB
244, 95, 252
HSL
297°, 96%, 68%
CMYK
3, 62, 0, 1
Luminance
0.3445

At a glance

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

Hex
#f45ffc
Hue
297°
magenta / pink
Saturation
96%
electric
Lightness
68%
light
Brightness
99%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3445
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.89:1
Closest name
Magenta
ΔE2000 6.1
Where it sits
Hue297° of 360°
Saturation96%
Lightness68%
Temperature
Warm ← → Cool52% 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#f45ffc
RGBrgb(244, 95, 252)
HSLhsl(297, 96%, 68%)
CMYKcmyk(3%, 62%, 0%, 1%)
LABlab(65.3 75.9 -51.3)
LCHlch(65.3 91.7 325.9)
OKLCHoklch(0.734 0.252 325.7)
Decimal16015356
Display P3color(display-p3 0.957 0.373 0.988)

Copy-ready code

/* CSS */
color: #f45ffc;
background-color: #f45ffc;
/* Tailwind (arbitrary) */
class="text-[#f45ffc] bg-[#f45ffc]"
/* SCSS */
$brand: #f45ffc;
/* SwiftUI */
Color(red: 0.957, green: 0.373, blue: 0.988)
/* Android */
Color.parseColor("#f45ffc")
/* Flutter */
Color(0xFFF45FFC)
/* Python / OpenCV (BGR) */
(252, 95, 244)

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

Accessibility — WCAG contrast

Aa
#f45ffc on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#f45ffc on black: 7.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4593FF
deuteranopia · #7EA5F8
tritanopia · #FA75A6

Color scale — 50 to 950

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

#FDF1FD
#FAE4FC
#F8C1FA
#F791FD
#f45ffc
#F023FB
#E405F0
#BE04C8
#9803A0
#6E0773
#450448
Base = 400Lightest = 50 · #FDF1FDDarkest = 950 · #450448
:root {
  --brand-50: #FDF1FD;
  --brand-100: #FAE4FC;
  --brand-200: #F8C1FA;
  --brand-300: #F791FD;
  --brand-400: #f45ffc;
  --brand-500: #F023FB;
  --brand-600: #E405F0;
  --brand-700: #BE04C8;
  --brand-800: #9803A0;
  --brand-900: #6E0773;
  --brand-950: #450448;
  --brand: #f45ffc;
  --brand-ink: #000000;
}

Colors that work with #f45ffc

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#EAC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#3DCC00
Second voice, not a rival
Dark variant#77027D
Hover, pressed, headers
Light variant#FDE6FF
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 #f45ffc

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#67FC5F
Analogous left#A55FFC
Analogous right#FC5FB6
Split-complement 1#B6FC5F
Split-complement 2#5FFCA5
Triadic 1#FCF45F
Triadic 2#5FFCF4
Tetradic#FCA55F

RGB percentages

Red95.7%
Green37.3%
Blue98.8%

CMYK percentages

Cyan3.2%
Magenta62.3%
Yellow0.0%
Key (black)1.2%

Color previews

#f45ffc text on a black background

contrast 7.89:1

Card sample

#f45ffc text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 95, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 95, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f45ffc;
background: linear-gradient(135deg, #f45ffc, #FC5F9B);

Monochromatic scale

Palettes built from #f45ffc

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.

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

#f45ffc, answered

What color is #f45ffc?

#f45ffc is a light electric magenta / pink, closest to Magenta (ΔE2000 6.1). It sits at 297° on the hue wheel with 96% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #f45ffc?

rgb(244, 95, 252) — 244 red, 95 green and 252 blue out of 255, or 95.7% / 37.3% / 98.8% by channel.

Is #f45ffc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3445 and perceived brightness is 68%, so black text on it reaches 7.89:1.

Should I use black or white text on #f45ffc?

Black. It scores 7.89:1 against #f45ffc, versus 2.66:1 for white — AAA at any size.

What is the complementary color of #f45ffc?

#67FC5F sits directly opposite on the wheel. Softer options are the split-complements #B6FC5F and #5FFCA5, which give the same contrast with far less vibration.

What colors go well with #f45ffc?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #974B9B for secondary text, #3DCC00 as an accent and #77027D for hover and pressed states. For a palette, the analogous pair #A55FFC and #FC5FB6 stays calm, while #67FC5F is the loudest partner.

What is #f45ffc in CMYK for printing?

cmyk(3%, 62%, 0%, 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 #f45ffc warm or cool?

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

Work with #f45ffc in the Color Lab