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