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