#FDF2F8 color
The swatch above shows #FDF2F8 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.
#FDF2F8 is a very light, vivid magenta, closest to the CSS named color lavenderblush (#FFF0F5).
It is also a Tailwind CSS default: pink-50. That means you can write bg-pink-50 or text-pink-50 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #FDF2F8 |
| RGB | rgb(253, 242, 248) |
| HSL | hsl(327, 73%, 97%) |
| CMYK | cmyk(0%, 4%, 2%, 1%) |
| Decimal | 16642808 |
| CSS | color: #FDF2F8; |
| Android | 0xFFFDF2F8 |
| Swift | UIColor(red: 0.992, green: 0.949, blue: 0.973, alpha: 1) |
Accessibility and contrast
| White text on #FDF2F8 | 1.09:1 — AA fail · AA large fail · AAA fail |
| Black text on #FDF2F8 | 19.23: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 #FDF2F8
Each swatch keeps the hue and saturation of #FDF2F8 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FDF2F8
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FDF2F8 in code
/* CSS */
.element { color: #FDF2F8; background-color: #FDF2F8; }
.element { color: rgb(253 242 248); }
.element { color: hsl(327 73% 97%); }
/* Tailwind */
<div class="bg-pink-50 text-black">
/* SCSS variable */
$brand: #FDF2F8;
Frequently asked questions
What color is #FDF2F8?
#FDF2F8 is a very light, vivid magenta. Its hue sits at 327° on the color wheel, with 73% saturation and 97% lightness.
What is #FDF2F8 in RGB?
#FDF2F8 converts to rgb(253, 242, 248) — 253 red, 242 green and 248 blue.
What is #FDF2F8 in CMYK?
Approximately cmyk(0%, 4%, 2%, 1%). 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 #FDF2F8 be white or black?
Black gives the better contrast ratio (19.23:1 versus 1.09:1).
What is the complementary color of #FDF2F8?
#F2FDF7 — the hue directly opposite #FDF2F8 on the color wheel.