#fc2f9f
a balanced, electric magenta / pink · warm · closest name: Deep Pink
At a glance
Every number on this page in one read: what #fc2f9f is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #fc2f9f |
| RGB | rgb(252, 47, 159) |
| HSL | hsl(327, 97%, 59%) |
| CMYK | cmyk(0%, 81%, 37%, 1%) |
| LAB | lab(57.3 80.6 -10.8) |
| LCH | lch(57.3 81.3 352.3) |
| OKLCH | oklch(0.665 0.249 353.6) |
| Decimal | 16527263 |
| Display P3 | color(display-p3 0.988 0.184 0.624) |
Copy-ready code
/* CSS */
color: #fc2f9f;
background-color: #fc2f9f;
/* Tailwind (arbitrary) */
class="text-[#fc2f9f] bg-[#fc2f9f]"
/* SCSS */
$brand: #fc2f9f;
/* SwiftUI */
Color(red: 0.988, green: 0.184, blue: 0.624)
/* Android */
Color.parseColor("#fc2f9f")
/* Flutter */
Color(0xFFFC2F9F)
/* Python / OpenCV (BGR) */
(159, 47, 252)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #fc2f9f 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.
:root {
--brand-50: #FDF1F8;
--brand-100: #FCE4F1;
--brand-200: #FBC1E1;
--brand-300: #FD90CC;
--brand-400: #FD59B2;
--brand-500: #fc2f9f;
--brand-600: #F10386;
--brand-700: #C9036F;
--brand-800: #A10259;
--brand-900: #740642;
--brand-950: #480429;
--brand: #fc2f9f;
--brand-ink: #000000;
}Colors that work with #fc2f9f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #fc2f9f
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠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 | #2FFC8C | Directly opposite — maximum tension | |
| Analogous left | #F22FFC | Neighbour, quieter | |
| Analogous right | #FC2F38 | Neighbour, quieter | |
| Split-complement 1 | #38FC2F | Contrast without the clash | |
| Split-complement 2 | #2FFCF2 | Contrast without the clash | |
| Triadic 1 | #9FFC2F | Even thirds — balanced and loud | |
| Triadic 2 | #2F9FFC | Even thirds — balanced and loud | |
| Tetradic | #FCF22F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#fc2f9f text on a black background
contrast 6.05:1
#fc2f9f text on a white background
contrast 3.47:1
CSS3 live lab
The quick brown fox
color: #fc2f9f;
background-color: #fc2f9f;
Glowing headline
text-shadow: 2px 2px 8px #fc2f9f;
Soft neon halo
text-shadow: 0 0 14px rgba(252, 47, 159, 0.45);
box-shadow: 0 12px 32px -8px rgba(252, 47, 159, 0.45);
border: 3px solid #fc2f9f; background: linear-gradient(135deg, #fc2f9f, #FC472F);
Monochromatic scale
Palettes built from #fc2f9f
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.
Closest color with a full write-up: Deep Pink (#ff1493) — ΔE2000 2.5 away, with its history, psychology and brand usage.
#fc2f9f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#fc2f9f, answered
What color is #fc2f9f?
#fc2f9f is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 2.5). It sits at 327° on the hue wheel with 97% saturation and 59% lightness, which reads as warm.
What is the RGB value of #fc2f9f?
rgb(252, 47, 159) — 252 red, 47 green and 159 blue out of 255, or 98.8% / 18.4% / 62.4% by channel.
Is #fc2f9f a light or a dark color?
It is a mid-tone. Relative luminance is 0.2523 and perceived brightness is 60%, so black text on it reaches 6.05:1.
Should I use black or white text on #fc2f9f?
Black. It scores 6.05:1 against #fc2f9f, versus 3.47:1 for white — AA at any size.
What is the complementary color of #fc2f9f?
#2FFC8C sits directly opposite on the wheel. Softer options are the split-complements #38FC2F and #2FFCF2, which give the same contrast with far less vibration.
What colors go well with #fc2f9f?
For interface work: #FAF4F8 as the surface, #EDC0D8 for borders, #9B4B76 for secondary text, #00CC29 as an accent and #7E0246 for hover and pressed states. For a palette, the analogous pair #F22FFC and #FC2F38 stays calm, while #2FFC8C is the loudest partner.
What is #fc2f9f in CMYK for printing?
cmyk(0%, 81%, 37%, 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 #fc2f9f warm or cool?
Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FC2F54; nudged cooler, #FE2DEC.