#F2A6DF color
#F2A6DF is a very light, vivid magenta, closest to the CSS named color plum (#DDA0DD).
Color values
| HEX | #F2A6DF |
| RGB | rgb(242, 166, 223) |
| HSL | hsl(315, 75%, 80%) |
| CMYK | cmyk(0%, 31%, 8%, 5%) |
| Decimal | 15902431 |
| CSS | color: #F2A6DF; |
| Android | 0xFFF2A6DF |
| Swift | UIColor(red: 0.949, green: 0.651, blue: 0.875, alpha: 1) |
Accessibility and contrast
| White text on #F2A6DF | 1.86:1 — AA fail · AA large fail · AAA fail |
| Black text on #F2A6DF | 11.30: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 #F2A6DF
Each swatch keeps the hue and saturation of #F2A6DF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #F2A6DF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #F2A6DF in code
/* CSS */
.element { color: #F2A6DF; background-color: #F2A6DF; }
.element { color: rgb(242 166 223); }
.element { color: hsl(315 75% 80%); }
/* Tailwind arbitrary value */
<div class="bg-[#F2A6DF] text-black">
/* SCSS variable */
$brand: #F2A6DF;
Frequently asked questions
What color is #F2A6DF?
#F2A6DF is a very light, vivid magenta. Its hue sits at 315° on the color wheel, with 75% saturation and 80% lightness.
What is #F2A6DF in RGB?
#F2A6DF converts to rgb(242, 166, 223) — 242 red, 166 green and 223 blue.
What is #F2A6DF in CMYK?
Approximately cmyk(0%, 31%, 8%, 5%). 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 #F2A6DF be white or black?
Black gives the better contrast ratio (11.30:1 versus 1.86:1).
What is the complementary color of #F2A6DF?
#A6F2B9 — the hue directly opposite #F2A6DF on the color wheel.