Menu

Colors

The Tabler color palette with base colors, light variants, the gray scale and social brand colors, each with background and text utilities.

Base colors

These are the base colors. Each one has bg-* and text-* utilities, and the components use the same names for their color variants.

Blue
Azure
Indigo
Purple
Pink
Red
Orange
Yellow
Lime
Green
Teal
Cyan

Light colors

Every base color also has a light shade with the -lt suffix. It works as a background for text or an icon in the base color.

Blue Light
Azure Light
Indigo Light
Purple Light
Pink Light
Red Light
Orange Light
Yellow Light
Lime Light
Green Light
Teal Light
Cyan Light

Gray palette

The gray scale is used for backgrounds, borders and muted text. Tabler ships several gray palettes and switches between them with data-bs-theme-base; see theme base colors.

Gray 50
Gray 100
Gray 200
Gray 300
Gray 400
Gray 500
Gray 600
Gray 700
Gray 800
Gray 900
Gray 950

Gray utilities

Every shade of the gray palette has a background and a text utility, from 50 to 950. Use bg-gray-* for surfaces and text-gray-* for muted text, and pick a pair with enough contrast between them.

Light surface with dark text
Dark surface with light text

Muted paragraph with text-gray-500

<div class="bg-gray-100 text-gray-700 p-3 rounded mb-2">Light surface with dark text</div>
<div class="bg-gray-800 text-gray-100 p-3 rounded mb-2">Dark surface with light text</div>
<p class="text-gray-500 mb-0">Muted paragraph with text-gray-500</p>

Social colors

The brand colors of popular services are available too, for social buttons and icons.

Facebook
Twitter
X
Linkedin
Google
Youtube
Vimeo
Dribbble
Github
Instagram
Pinterest
VK
RSS
Flickr
Bitbucket
Tabler

Accessibility

  • A color name is not a meaning. text-red looks like an error to most users, but a screen reader announces nothing, so keep the meaning in the text.
  • Body text needs a contrast ratio of at least 4.5:1, and large text at least 3:1. The lighter -lt variants are backgrounds for dark text, not text colors.
  • Check both color modes. A pair that passes in light can fail in dark, and Tabler switches many tokens with light-dark().
  • The social colors are brand colors. They are picked to be recognizable, not readable - do not use them for text on a white background without checking.
  • Never separate two states by hue alone. Add a label, an icon, or a shape.