#ff4f7c
a light, electric magenta / pink · warm · closest name: Pale Violet Red
At a glance
Every number on this page in one read: what #ff4f7c 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 | #ff4f7c |
| RGB | rgb(255, 79, 124) |
| HSL | hsl(345, 100%, 66%) |
| CMYK | cmyk(0%, 69%, 51%, 0%) |
| LAB | lab(60.2 69.0 13.9) |
| LCH | lch(60.2 70.3 11.4) |
| OKLCH | oklch(0.684 0.212 9.7) |
| Decimal | 16732028 |
| Display P3 | color(display-p3 1.000 0.310 0.486) |
Copy-ready code
/* CSS */
color: #ff4f7c;
background-color: #ff4f7c;
/* Tailwind (arbitrary) */
class="text-[#ff4f7c] bg-[#ff4f7c]"
/* SCSS */
$brand: #ff4f7c;
/* SwiftUI */
Color(red: 1.000, green: 0.310, blue: 0.486)
/* Android */
Color.parseColor("#ff4f7c")
/* Flutter */
Color(0xFFFF4F7C)
/* Python / OpenCV (BGR) */
(124, 79, 255)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. #ff4f7c 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.
:root {
--brand-50: #FEF1F4;
--brand-100: #FCE3EA;
--brand-200: #FCC0CF;
--brand-300: #FF8FAB;
--brand-400: #ff4f7c;
--brand-500: #FF1F58;
--brand-600: #F5003E;
--brand-700: #CC0034;
--brand-800: #A3002A;
--brand-900: #760522;
--brand-950: #490315;
--brand: #ff4f7c;
--brand-ink: #000000;
}Colors that work with #ff4f7c
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 #ff4f7c
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
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠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 | #4FFFD2 | Directly opposite — maximum tension | |
| Analogous left | #FF4FD4 | Neighbour, quieter | |
| Analogous right | #FF7A4F | Neighbour, quieter | |
| Split-complement 1 | #4FFF7A | Contrast without the clash | |
| Split-complement 2 | #4FD4FF | Contrast without the clash | |
| Triadic 1 | #7CFF4F | Even thirds — balanced and loud | |
| Triadic 2 | #4F7CFF | Even thirds — balanced and loud | |
| Tetradic | #D4FF4F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ff4f7c text on a black background
contrast 6.66:1
#ff4f7c text on a white background
contrast 3.15:1
CSS3 live lab
The quick brown fox
color: #ff4f7c;
background-color: #ff4f7c;
Glowing headline
text-shadow: 2px 2px 8px #ff4f7c;
Soft neon halo
text-shadow: 0 0 14px rgba(255, 79, 124, 0.45);
box-shadow: 0 12px 32px -8px rgba(255, 79, 124, 0.45);
border: 3px solid #ff4f7c; background: linear-gradient(135deg, #ff4f7c, #FF974F);
Monochromatic scale
Palettes built from #ff4f7c
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: Watermelon (#fc6c85) — ΔE2000 4.8 away, with its history, psychology and brand usage.
#ff4f7c 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.
#ff4f7c, answered
What color is #ff4f7c?
#ff4f7c is a light electric magenta / pink, closest to Pale Violet Red (ΔE2000 8.7). It sits at 345° on the hue wheel with 100% saturation and 66% lightness, which reads as warm.
What is the RGB value of #ff4f7c?
rgb(255, 79, 124) — 255 red, 79 green and 124 blue out of 255, or 100% / 31% / 48.6% by channel.
Is #ff4f7c a light or a dark color?
It is a mid-tone. Relative luminance is 0.2831 and perceived brightness is 62%, so black text on it reaches 6.66:1.
Should I use black or white text on #ff4f7c?
Black. It scores 6.66:1 against #ff4f7c, versus 3.15:1 for white — AA at any size.
What is the complementary color of #ff4f7c?
#4FFFD2 sits directly opposite on the wheel. Softer options are the split-complements #4FFF7A and #4FD4FF, which give the same contrast with far less vibration.
What colors go well with #ff4f7c?
For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5F for secondary text, #00CC65 as an accent and #800021 for hover and pressed states. For a palette, the analogous pair #FF4FD4 and #FF7A4F stays calm, while #4FFFD2 is the loudest partner.
What is #ff4f7c in CMYK for printing?
cmyk(0%, 69%, 51%, 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 #ff4f7c warm or cool?
Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FF634F; nudged cooler, #FF4FBC.