#D4D4D8 — Tints, Shades & Color Values
#D4D4D8 is a light, nearly neutral gray. In Tailwind CSS this exact color is the utility class zinc-300 (e.g. bg-zinc-300, text-zinc-300). Its nearest CSS named color is lightgray (#d3d3d3). For readable text on a #D4D4D8 background, black text gives the strongest contrast (14.21:1). Because it is so light, #D4D4D8 works best as a background or surface color paired with dark text, or as a high-percentage tint in an existing palette.
Color Values
| Hex | #D4D4D8 |
|---|---|
| RGB | rgb(212, 212, 216) |
| HSL | hsl(240, 5%, 84%) |
| HSV / HSB | 240°, 2%, 85% |
| Nearest named | lightgray (#d3d3d3) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#D4D4D8 in Tailwind CSS (zinc-300)
#D4D4D8 ships with Tailwind CSS as zinc-300 — use it as bg-zinc-300, text-zinc-300, or border-zinc-300. It sits at step 300 of the zinc ramp; every other step links to its own page:
Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.
Tints of #D4D4D8 (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#d8d8dc -
20% tint
#dddde0 -
30% tint
#e1e1e4 -
40% tint
#e5e5e8 -
50% tint
#eaeaec -
60% tint
#eeeeef -
70% tint
#f2f2f3 -
80% tint
#f6f6f7 -
90% tint
#fbfbfb
Shades of #D4D4D8 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#bfbfc2 -
20% shade
#aaaaad -
30% shade
#949497 -
40% shade
#7f7f82 -
50% shade
#6a6a6c -
60% shade
#555556 -
70% shade
#404041 -
80% shade
#2a2a2b -
90% shade
#151516
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #D4D4D8 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 1.48:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
|---|---|
| Black text 14.21:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
If neither pure white nor pure black reaches the level you need, pick a darker shade of #D4D4D8 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More gray colors in the library: #D4D4D4 (neutral-300), #D6D3D1 (stone-300), #A3A3A3 (neutral-400), #A8A29E (stone-400), #737373 (neutral-500), #78716C (stone-500).
Frequently Asked Questions
-
What color is #D4D4D8?
#D4D4D8 is a light, nearly neutral gray —
rgb(212, 212, 216). Its nearest CSS named color islightgray. In Tailwind CSS it iszinc-300. -
How do I make tints and shades of #D4D4D8?
Mix #D4D4D8 with white for tints and with black for shades. A 20% tint of #D4D4D8 is
#dddde0and a 20% shade is#aaaaad— the full 10%–90% ramps are precomputed on this page, or open #D4D4D8 in the generator for finer steps. -
What text color is readable on #D4D4D8?
Black text gives the strongest contrast on a #D4D4D8 background at 14.21:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #D4D4D8?
zinc-300— use it asbg-zinc-300,text-zinc-300, orborder-zinc-300. The full zinc 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#D4D4D8? Put it on a free link-in-bio page →