#D4D4D8 — Tints, Shades & Color Values

#D4D4D8

#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.

Want to fine-tune this color interactively? Open #D4D4D8 in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#D4D4D8
RGBrgb(212, 212, 216)
HSLhsl(240, 5%, 84%)
HSV / HSB240°, 2%, 85%
Nearest namedlightgray (#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.

Shades of #D4D4D8 (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

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

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #D4D4D8? Put it on a free link-in-bio page →