Gray is one of the color families shipped with this release. Pure neutral gray — maximally quiet..
Shades#
100200300400500600700800900950
Palette table#
| Shade | Class fragment | Value | Best role |
|---|---|---|---|
100 | gray-100 | #f9fafb | Very light — section backgrounds, badges on light UI, tinted code blocks. |
200 | gray-200 | #f3f4f6 | Light — borders on light themes, dividers with personality, chip backgrounds. |
300 | gray-300 | #e5e7eb | Soft — secondary borders, disabled states with color, placeholder decorations. |
400 | gray-400 | #d1d5db | Medium-light — icons on dark surfaces, decorative accents, chart lines. |
500 | gray-500 | #9ca3af | The primary step — buttons, links, brand fills, key interactive elements. |
600 | gray-600 | #6b7280 | Hover step — hover states for 500 elements, or primary on very light UIs. |
700 | gray-700 | #4b5563 | Active step — pressed states, emphasized text on light tinted backgrounds. |
800 | gray-800 | #374151 | Dark — text on light palettes, headers in tinted sections, dark UI fills. |
900 | gray-900 | #1f2937 | Very dark — deep section backgrounds, high-contrast text carriers. |
950 | gray-950 | #111827 | Darkest — near-black tinted backgrounds, hero surfaces, footer tones. |
Use it#
<div class="bg-gray-500 text-white p-6 rounded-xl">Gray surface</div>
<p class="text-gray-600 dark:text-gray-400">Adaptive text</p>
<div class="border border-gray-200 dark:border-gray-800 bg-gray-50 dark:bg-gray-950 p-4 rounded-lg">Panel</div>Per-usage guides#
Gray textstext-gray-* in practice.Gray backgroundsbg-gray-* in practice.Gray bordersborder-gray-* in practice.Gray gradientsfrom-gray-* in practice.
Contrast#
Flip point: shades 50–400 want dark text (text-slate-900); shades 500+ (approx.) want white text. Verify with the accessibility/color-contrast|contrast guide.
Related palettes#
colors/slate|slate · colors/zinc|zinc · colors/color-pairing|Pairing recipes
