#FF4DFF color
#FF4DFF is a light, vivid magenta, closest to the CSS named color hotpink (#FF69B4).
Color values
| HEX | #FF4DFF |
| RGB | rgb(255, 77, 255) |
| HSL | hsl(300, 100%, 65%) |
| CMYK | cmyk(0%, 70%, 0%, 0%) |
| Decimal | 16731647 |
| CSS | color: #FF4DFF; |
| Android | 0xFFFF4DFF |
| Swift | UIColor(red: 1.000, green: 0.302, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #FF4DFF | 2.71:1 — AA fail · AA large fail · AAA fail |
| Black text on #FF4DFF | 7.76:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #FF4DFF
Each swatch keeps the hue and saturation of #FF4DFF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FF4DFF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FF4DFF in code
/* CSS */
.element { color: #FF4DFF; background-color: #FF4DFF; }
.element { color: rgb(255 77 255); }
.element { color: hsl(300 100% 65%); }
/* Tailwind arbitrary value */
<div class="bg-[#FF4DFF] text-black">
/* SCSS variable */
$brand: #FF4DFF;
Frequently asked questions
What color is #FF4DFF?
#FF4DFF is a light, vivid magenta. Its hue sits at 300° on the color wheel, with 100% saturation and 65% lightness.
What is #FF4DFF in RGB?
#FF4DFF converts to rgb(255, 77, 255) — 255 red, 77 green and 255 blue.
What is #FF4DFF in CMYK?
Approximately cmyk(0%, 70%, 0%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #FF4DFF be white or black?
Black gives the better contrast ratio (7.76:1 versus 2.71:1).
What is the complementary color of #FF4DFF?
#4DFF4D — the hue directly opposite #FF4DFF on the color wheel.