#D279A6 color
#D279A6 is a light, moderately saturated magenta, closest to the CSS named color palevioletred (#DB7093).
Color values
| HEX | #D279A6 |
| RGB | rgb(210, 121, 166) |
| HSL | hsl(330, 50%, 65%) |
| CMYK | cmyk(0%, 42%, 21%, 18%) |
| Decimal | 13793702 |
| CSS | color: #D279A6; |
| Android | 0xFFD279A6 |
| Swift | UIColor(red: 0.824, green: 0.475, blue: 0.651, alpha: 1) |
Accessibility and contrast
| White text on #D279A6 | 2.99:1 — AA fail · AA large fail · AAA fail |
| Black text on #D279A6 | 7.03: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 #D279A6
Each swatch keeps the hue and saturation of #D279A6 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #D279A6
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #D279A6 in code
/* CSS */
.element { color: #D279A6; background-color: #D279A6; }
.element { color: rgb(210 121 166); }
.element { color: hsl(330 50% 65%); }
/* Tailwind arbitrary value */
<div class="bg-[#D279A6] text-black">
/* SCSS variable */
$brand: #D279A6;
Frequently asked questions
What color is #D279A6?
#D279A6 is a light, moderately saturated magenta. Its hue sits at 330° on the color wheel, with 50% saturation and 65% lightness.
What is #D279A6 in RGB?
#D279A6 converts to rgb(210, 121, 166) — 210 red, 121 green and 166 blue.
What is #D279A6 in CMYK?
Approximately cmyk(0%, 42%, 21%, 18%). 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 #D279A6 be white or black?
Black gives the better contrast ratio (7.03:1 versus 2.99:1).
What is the complementary color of #D279A6?
#79D2A6 — the hue directly opposite #D279A6 on the color wheel.