Generated Color Roles
8
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
Evaluate your visual hierarchy, readable secondary copy, buttons, links, and borders rendered together in real context.
Generated Color Roles
8
Passing Combinations
6 of 6
Contrast Standard
WCAG AA
Role-based color assignments tailored for your light interface.
Perceptually spaced OKLCH lightness steps mapped safely into standard sRGB.
Check color combinations against your selected WCAG contrast requirements.
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;
}Turn any brand color into a complete, contrast-verified light and dark theme in three steps.
Pick a starting HEX color and choose whether your interface targets standard WCAG AA (4.5:1) or enhanced AAA (7:1) compliance.
Review automatically balanced tokens for primary actions, backgrounds, cards, body text, muted labels, and borders.
Copy ready-to-use CSS custom properties or structured JSON design tokens directly into your project.
Built for design systems and frontend teams prioritizing readability across themes.
Check color combinations against your selected WCAG contrast requirements to verify legibility across light and dark themes.
Generates dedicated light and dark surface palettes so vibrant brand accents stay legible without eye strain.
Your files are processed directly in your browser and are not uploaded to Pinatool's servers.
Everything you need to know about accessible color generation and WCAG compliance.
The generator computes the relative luminance of your seed color using the WCAG 2.1 formula. It derives background, surface, text, muted text, and border roles, automatically adjusting lightness values to satisfy contrast targets: at least 4.5:1 for normal text (WCAG AA) or 7:1 (WCAG AAA), and 3:1 for large text and UI controls. Contrast checking is essential for legibility, but it is only one part of overall web accessibility.
WCAG AA is the standard legal and professional 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, offering higher legibility for visually impaired users.
Each mode recalculates lightness curves and surface tones independently. Light mode pairs deep, legible text against clean luminous surfaces, while dark mode inverts contrast dynamics, desaturating vibrant brand tones to prevent eye strain and halos against deep neutral backgrounds.
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 matches standard Design Tokens Community Group (DTCG) formats compatible with Tailwind CSS configs, Style Dictionary, and Figma plugins.
No. All color math, luminance calculations, and token generation run entirely client-side inside your browser. No color codes or data ever leave your machine.
More free utilities for color contrast testing, harmonies, and visual accessibility.
Test text and background colors against WCAG AA and AAA accessibility standards.
Explore geometric harmonies (triadic, complementary, analogous) on a 360° wheel.
Simulate how your palette looks to people with Protanopia, Deuteranopia, and Tritanopia.