#F9A8D4 color
The swatch above shows #F9A8D4 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#F9A8D4 is a very light, vivid magenta, closest to the CSS named color lightpink (#FFB6C1).
It is also a Tailwind CSS default: pink-300. That means you can write bg-pink-300 or text-pink-300 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #F9A8D4 |
| RGB | rgb(249, 168, 212) |
| HSL | hsl(327, 87%, 82%) |
| CMYK | cmyk(0%, 33%, 15%, 2%) |
| Decimal | 16361684 |
| CSS | color: #F9A8D4; |
| Android | 0xFFF9A8D4 |
| Swift | UIColor(red: 0.976, green: 0.659, blue: 0.831, alpha: 1) |
Accessibility and contrast
| White text on #F9A8D4 | 1.81:1 — AA fail · AA large fail · AAA fail |
| Black text on #F9A8D4 | 11.58: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 #F9A8D4
Each swatch keeps the hue and saturation of #F9A8D4 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #F9A8D4
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #F9A8D4 in code
/* CSS */
.element { color: #F9A8D4; background-color: #F9A8D4; }
.element { color: rgb(249 168 212); }
.element { color: hsl(327 87% 82%); }
/* Tailwind */
<div class="bg-pink-300 text-black">
/* SCSS variable */
$brand: #F9A8D4;
Frequently asked questions
What color is #F9A8D4?
#F9A8D4 is a very light, vivid magenta. Its hue sits at 327° on the color wheel, with 87% saturation and 82% lightness.
What is #F9A8D4 in RGB?
#F9A8D4 converts to rgb(249, 168, 212) — 249 red, 168 green and 212 blue.
What is #F9A8D4 in CMYK?
Approximately cmyk(0%, 33%, 15%, 2%). 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 #F9A8D4 be white or black?
Black gives the better contrast ratio (11.58:1 versus 1.81:1).
What is the complementary color of #F9A8D4?
#A9F9CD — the hue directly opposite #F9A8D4 on the color wheel.