Pinatool

Accessible Palette Generator

Create ready-to-use light and dark mode color systems with verified WCAG AA and AAA contrast. Preview UI components live and export CSS variables or JSON design tokens.

Palette Overview

Palette Overview

Accessible design system preview

Evaluate your visual hierarchy, secondary copy, buttons, links, and borders rendered together in real context.

Generated Color Roles

8

Passing Combinations

6 / 6

Contrast Standard

WCAG AA

Semantic design tokens

Role-based color assignments tailored for your light interface.

Brand tone scale (50–950)

11 balanced lightness steps from 50 to 950 for backgrounds, hover states, borders, and accents.

Verified WCAG combinations

Contrast ratios for key foreground and background pairings in your palette.

Text on canvas backgroundMinimum required: 4.5:1
17.22:1
Muted text on backgroundMinimum required: 4.5:1
7.23:1
Text on raised surfaceMinimum required: 4.5:1
16.46:1
Interactive link on backgroundMinimum required: 4.5:1
5.32:1
Text & icon on primary action buttonMinimum required: 4.5:1
8.44:1
Input border & dividers on backgroundMinimum required: 3:1
3.03:1

Export tokens

Copy-ready CSS custom properties or JSON design tokens.

:root {
  --color-primary: #14b8a6;
  --color-on-primary: #000000;
  --color-background: #ffffff;
  --color-surface: #f8fafc;
  --color-text: #1b1b1b;
  --color-text-muted: #575757;
  --color-link: #00796b;
  --color-border: #949494;
}

How It Works

1

Enter Your Brand Color

Pick a starting HEX color and choose whether your interface targets standard WCAG AA (4.5:1) or enhanced AAA (7:1) compliance.

2

Inspect Light & Dark Roles

Review balanced color tokens for primary actions, backgrounds, cards, body text, muted labels, links, and borders in a live interface preview.

3

Export CSS or JSON Tokens

Copy ready-to-use CSS custom properties or structured JSON design tokens directly into your project.

Accessible Palette Generator Key Features

Verified WCAG Contrast

Tests every text, button, link, and border pairing against WCAG AA (4.5:1) and AAA (7:1) contrast requirements across light and dark themes.

Adaptive Light & Dark Themes

Generates dedicated light and dark surface palettes so vibrant brand accents stay legible without glare or eye strain.

Semantic Tokens & 50–950 Scale

Produces 8 role-based UI tokens alongside an 11-step brand shade scale (50 to 950), ready to copy as CSS variables or JSON design tokens.

Frequently Asked Questions

How are color combinations verified for accessibility?

Every generated role—including primary actions, backgrounds, elevated cards, body text, muted labels, links, and borders—is paired and checked against WCAG 2.1 contrast thresholds: at least 4.5:1 for normal text (7:1 for AAA) and 3:1 for UI boundaries and large text.

What is the difference between WCAG AA and AAA conformance?

WCAG AA is the standard legal and industry benchmark for web accessibility, requiring a 4.5:1 contrast ratio for body text and 3:1 for large text or graphical controls. WCAG AAA is an enhanced standard requiring 7:1 for normal text and 4.5:1 for large text, providing higher legibility for users with low vision.

How are light and dark themes balanced?

Light mode pairs deep, legible text against clean, luminous surfaces, while dark mode adjusts surface elevation and softens vibrant brand accents so text and controls remain crisp against dark backgrounds without visual glare.

What happens if my brand color does not meet the contrast target?

If your starting HEX color already meets the required contrast ratio, it is kept intact as your primary color. When a shade needs adjustment for legible button labels or links, its lightness is subtly tuned while preserving your brand hue.

How do I use the exported CSS and JSON tokens in my project?

The CSS export provides ready-to-use CSS Custom Properties (:root variables) with semantic names such as --color-primary, --color-surface, and --color-text. The JSON export follows standard design token conventions compatible with Tailwind CSS, Style Dictionary, and Figma token workflows.