Tailwind CSS Color Palette Visualizer

A complete, searchable reference for the default Tailwind CSS color palette. Click to copy class names or hex codes instantly.

Loading Tailwind color palette…

Understanding the Tailwind Color System

Tailwind CSS comes with a expertly crafted, comprehensive color palette out of the box. This palette is not just a random collection of colors; it's a carefully designed system that makes building beautiful, consistent user interfaces easier and more intuitive.

The Power of Shades:

Each color in the palette (like Blue, Green, Red) comes in a range of 10 shades, from 50 (lightest) to 900 (darkest). This numeric scale provides a predictable and consistent way to choose colors for different UI states and elements.

  • Light Shades (50-300): Excellent for backgrounds, borders, and subtle highlights.
  • Mid Tones (400-600): Often used as the primary shade for buttons, links, and other interactive elements. The 500 shade is typically considered the "base" color.
  • Dark Shades (700-900): Perfect for text, icons, and dark mode backgrounds. They provide strong contrast and readability.

This visualizer makes it easy to see all these shades at a glance and find the perfect one for your needs. The search bar lets you filter not just by color name (e.g., "sky") but also by a specific shade (e.g., "rose-300").

Customizing Your Palette

While Tailwind's default palette is extensive, most projects will need to customize it to match their brand identity. You can do this in your tailwind.config.js file.

Extending the Default Palette:

If you want to add new colors without removing the defaults, use the `extend` key in your config. This is the most common and recommended approach.

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'custom-brand': '#FFC107',
        'tahiti': {
          100: '#cffafe',
          200: '#a5f3fc',
          // ...and so on
        },
      },
    },
  },
  plugins: [],
}

Overriding the Default Palette:

If you want to completely replace the default color palette with your own, define your colors directly under `theme.colors`.

// tailwind.config.js
module.exports = {
  theme: {
    colors: {
      'primary': '#3490dc',
      'secondary': '#ffed4a',
      //...
    },
  },
}

Note: This visualizer only shows the default Tailwind palette. Your custom colors will not appear here.

Frequently Asked Questions (FAQ)

How are the color names decided?

The color names in Tailwind (e.g., "Slate", "Sky", "Amber", "Rose") are based on real-world color names to be more intuitive and memorable than abstract names like "Brand Primary".

Can I use these colors in my CSS file?

Yes, you can use the `theme()` function in your CSS to access your configured Tailwind colors. This is useful for properties where you can't use a utility class. For example: .my-class { background-color: theme('colors.blue.500'); }

What if I need a color that isn't in the palette?

You can use Tailwind's arbitrary value syntax to use a one-off color directly in your HTML without adding it to your theme. For example: <div className="bg-[#FFC0CB]"></div>. However, if you find yourself using a color frequently, it's best to add it to your `tailwind.config.js`.

Related tools

Related tools

Related Color and Design Tools

Pixel Art Color Palette Tool - Retro Gaming Palettes & Color Extraction

Create perfect pixel art color palettes with classic retro gaming palettes, color extraction from images, and custom palette builders for pixel artists and game developers.

Random Aesthetic Palette Generator - Trendy Color Schemes

Generate beautiful, trendy color palettes inspired by popular aesthetics like vaporwave, cottagecore, dark academia, and more. Perfect for modern design projects.

Real-Time Theme Preview Sandbox

Test and preview your website&apos;s theme in real-time. Experiment with color schemes, typography, and components to create the perfect design system for your project.

Shimmer Effect CSS Generator

Create beautiful shimmer and loading effects for your web applications. Customize animation properties and generate optimized CSS code.

SVG Pattern Generator - Create Scalable Geometric Patterns

Generate beautiful, scalable SVG patterns for backgrounds and design elements. Create dots, lines, grids, and geometric shapes with customizable colors and spacing.

Color Palette Rating Tool (User Votes)

Upload or define color palettes and get quick feedback with upvotes and downvotes. Great for designers validating palette choices and prioritizing options.

Color Mood Board Builder

Create visual mood boards with color palettes, notes, and image placeholders. Plan brand concepts, UI themes, and design directions in one place.

Hover State Color Preview Tool

Preview hover, active, and focus colors for buttons and links. Test states across backgrounds and ensure accessible contrast on interactions.

Monochromatic Palette Generator

Generate monochromatic color palettes from a single base color. Explore tints, tones, and shades for UI themes, charts, and branding.

Dynamic Color Palette with Time of Day

Generate color palettes that adapt to time of day—morning, afternoon, evening, and night. Preview transitions and export CSS variables.