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