Red is one of the color families shipped with this release. The alarm color — errors, destructive actions, urgency..
Shades#
50100200300400500600700800900950
Palette table#
| Shade | Class fragment | Value | Best role |
|---|---|---|---|
50 | red-50 | #fef2f2 | Lightest tint — page backgrounds, subtle fills, hover backgrounds for rows and list items. |
100 | red-100 | #fee2e2 | Very light — section backgrounds, badges on light UI, tinted code blocks. |
200 | red-200 | #fecaca | Light — borders on light themes, dividers with personality, chip backgrounds. |
300 | red-300 | #fca5a5 | Soft — secondary borders, disabled states with color, placeholder decorations. |
400 | red-400 | #f87171 | Medium-light — icons on dark surfaces, decorative accents, chart lines. |
500 | red-500 | #ef4444 | The primary step — buttons, links, brand fills, key interactive elements. |
600 | red-600 | #dc2626 | Hover step — hover states for 500 elements, or primary on very light UIs. |
700 | red-700 | #b91c1c | Active step — pressed states, emphasized text on light tinted backgrounds. |
800 | red-800 | #991b1b | Dark — text on light palettes, headers in tinted sections, dark UI fills. |
900 | red-900 | #7f1d1d | Very dark — deep section backgrounds, high-contrast text carriers. |
950 | red-950 | #450a0a | Darkest — near-black tinted backgrounds, hero surfaces, footer tones. |
Use it#
<div class="bg-red-500 text-white p-6 rounded-xl">Red surface</div>
<p class="text-red-600 dark:text-red-400">Adaptive text</p>
<div class="border border-red-200 dark:border-red-800 bg-red-50 dark:bg-red-950 p-4 rounded-lg">Panel</div>Per-usage guides#
Red textstext-red-* in practice.Red backgroundsbg-red-* in practice.Red bordersborder-red-* in practice.Red gradientsfrom-red-* 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/stone|stone · colors/orange|orange · colors/color-pairing|Pairing recipes
