#DDDDDD color
#DDDDDD is a very light, desaturated grey, closest to the CSS named color gainsboro (#DCDCDC).
Color values
| HEX | #DDDDDD |
| RGB | rgb(221, 221, 221) |
| HSL | hsl(0, 0%, 87%) |
| CMYK | cmyk(0%, 0%, 0%, 13%) |
| Decimal | 14540253 |
| CSS | color: #DDDDDD; |
| Android | 0xFFDDDDDD |
| Swift | UIColor(red: 0.867, green: 0.867, blue: 0.867, alpha: 1) |
Accessibility and contrast
| White text on #DDDDDD | 1.36:1 — AA fail · AA large fail · AAA fail |
| Black text on #DDDDDD | 15.46: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 #DDDDDD
Each swatch keeps the hue and saturation of #DDDDDD and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #DDDDDD
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #DDDDDD in code
/* CSS */
.element { color: #DDDDDD; background-color: #DDDDDD; }
.element { color: rgb(221 221 221); }
.element { color: hsl(0 0% 87%); }
/* Tailwind arbitrary value */
<div class="bg-[#DDDDDD] text-black">
/* SCSS variable */
$brand: #DDDDDD;
Frequently asked questions
What color is #DDDDDD?
#DDDDDD is a very light, desaturated grey. Its hue sits at 0° on the color wheel, with 0% saturation and 87% lightness.
What is #DDDDDD in RGB?
#DDDDDD converts to rgb(221, 221, 221) — 221 red, 221 green and 221 blue.
What is #DDDDDD in CMYK?
Approximately cmyk(0%, 0%, 0%, 13%). 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 #DDDDDD be white or black?
Black gives the better contrast ratio (15.46:1 versus 1.36:1).
What is the complementary color of #DDDDDD?
#DEDEDE — the hue directly opposite #DDDDDD on the color wheel.