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