Skip to content

#fc7fd4

a light, electric magenta / pink · warm · closest name: Violet

RGB
252, 127, 212
HSL
319°, 95%, 74%
CMYK
0, 50, 16, 1
Luminance
0.4063

At a glance

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

Hex
#fc7fd4
Hue
319°
magenta / pink
Saturation
95%
electric
Lightness
74%
light
Brightness
99%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4063
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.13:1
Closest name
Violet
ΔE2000 6.2
Where it sits
Hue319° of 360°
Saturation95%
Lightness74%
Temperature
Warm ← → Cool39% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#fc7fd4
RGBrgb(252, 127, 212)
HSLhsl(319, 95%, 74%)
CMYKcmyk(0%, 50%, 16%, 1%)
LABlab(69.9 57.7 -22.0)
LCHlch(69.9 61.7 339.2)
OKLCHoklch(0.764 0.180 341.0)
Decimal16547796
Display P3color(display-p3 0.988 0.498 0.831)

Copy-ready code

/* CSS */
color: #fc7fd4;
background-color: #fc7fd4;
/* Tailwind (arbitrary) */
class="text-[#fc7fd4] bg-[#fc7fd4]"
/* SCSS */
$brand: #fc7fd4;
/* SwiftUI */
Color(red: 0.988, green: 0.498, blue: 0.831)
/* Android */
Color.parseColor("#fc7fd4")
/* Flutter */
Color(0xFFFC7FD4)
/* Python / OpenCV (BGR) */
(212, 127, 252)

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

Accessibility — WCAG contrast

Aa
#fc7fd4 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#fc7fd4 on black: 9.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #869ED7
deuteranopia · #A8B2D1
tritanopia · #FF81A0

Color scale — 50 to 950

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

#FDF1F9
#FCE4F4
#FAC2E8
#fc7fd4
#FB5BC8
#FA24B5
#EF06A4
#C70589
#9F046E
#730751
#480532
Base = 300Lightest = 50 · #FDF1F9Darkest = 950 · #480532
:root {
  --brand-50: #FDF1F9;
  --brand-100: #FCE4F4;
  --brand-200: #FAC2E8;
  --brand-300: #fc7fd4;
  --brand-400: #FB5BC8;
  --brand-500: #FA24B5;
  --brand-600: #EF06A4;
  --brand-700: #C70589;
  --brand-800: #9F046E;
  --brand-900: #730751;
  --brand-950: #480532;
  --brand: #fc7fd4;
  --brand-ink: #000000;
}

Colors that work with #fc7fd4

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#FAF4F8
Tinted page background
Border#EDC0DE
Hairlines and dividers
Muted text#9B4B81
Captions on the surface
Accent#00CC0E
Second voice, not a rival
Dark variant#7D0356
Hover, pressed, headers
Light variant#FEE6F7
Selected rows, tints
Dark surface#24141F
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 #fc7fd4

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#7FFCA7
Analogous left#E57FFC
Analogous right#FC7F95
Split-complement 1#95FC7F
Split-complement 2#7FFCE5
Triadic 1#D4FC7F
Triadic 2#7FD4FC
Tetradic#FCE57F

RGB percentages

Red98.8%
Green49.8%
Blue83.1%

CMYK percentages

Cyan0.0%
Magenta49.6%
Yellow15.9%
Key (black)1.2%

Color previews

#fc7fd4 text on a black background

contrast 9.13:1

Card sample

#fc7fd4 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc7fd4

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.

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

#fc7fd4, answered

What color is #fc7fd4?

#fc7fd4 is a light electric magenta / pink, closest to Violet (ΔE2000 6.2). It sits at 319° on the hue wheel with 95% saturation and 74% lightness, which reads as warm.

What is the RGB value of #fc7fd4?

rgb(252, 127, 212) — 252 red, 127 green and 212 blue out of 255, or 98.8% / 49.8% / 83.1% by channel.

Is #fc7fd4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4063 and perceived brightness is 72%, so black text on it reaches 9.13:1.

Should I use black or white text on #fc7fd4?

Black. It scores 9.13:1 against #fc7fd4, versus 2.30:1 for white — AAA at any size.

What is the complementary color of #fc7fd4?

#7FFCA7 sits directly opposite on the wheel. Softer options are the split-complements #95FC7F and #7FFCE5, which give the same contrast with far less vibration.

What colors go well with #fc7fd4?

For interface work: #FAF4F8 as the surface, #EDC0DE for borders, #9B4B81 for secondary text, #00CC0E as an accent and #7D0356 for hover and pressed states. For a palette, the analogous pair #E57FFC and #FC7F95 stays calm, while #7FFCA7 is the loudest partner.

What is #fc7fd4 in CMYK for printing?

cmyk(0%, 50%, 16%, 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 #fc7fd4 warm or cool?

Warm — it scores 39 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FC7FA6; nudged cooler, #F77EFD.

Work with #fc7fd4 in the Color Lab