Accessibility Tools
100% Client-Side 100% client-side theme evaluation. Palette colors are saved only in your local session.

Theme Palette Matrix & Contrast Validator

Audit full design system color palettes for pairwise WCAG AA and AAA contrast compatibility

Theme Palette Contrast Matrix

Validate pairwise WCAG contrast for your entire design system or brand palette.

Background
Surface / Card
Primary Brand
Text Primary
Text Muted
Danger Red

Pairwise Compliance Matrix

ForegroundBackgroundContrast RatioNormal Text (AA)Large Text (AA)Visual Preview
Background (#FFFFFF)
Surface / Card (#F8FAFC)
1.05:1FailFailAa Sample
Background (#FFFFFF)
Primary Brand (#0D9488)
3.74:1FailPass AAAa Sample
Background (#FFFFFF)
Text Primary (#0F172A)
17.85:1Pass AAPass AAAa Sample
Background (#FFFFFF)
Text Muted (#64748B)
4.76:1Pass AAPass AAAa Sample
Background (#FFFFFF)
Danger Red (#DC2626)
4.83:1Pass AAPass AAAa Sample
Surface / Card (#F8FAFC)
Background (#FFFFFF)
1.05:1FailFailAa Sample
Surface / Card (#F8FAFC)
Primary Brand (#0D9488)
3.58:1FailPass AAAa Sample
Surface / Card (#F8FAFC)
Text Primary (#0F172A)
17.06:1Pass AAPass AAAa Sample
Surface / Card (#F8FAFC)
Text Muted (#64748B)
4.55:1Pass AAPass AAAa Sample
Surface / Card (#F8FAFC)
Danger Red (#DC2626)
4.62:1Pass AAPass AAAa Sample
Primary Brand (#0D9488)
Background (#FFFFFF)
3.74:1FailPass AAAa Sample
Primary Brand (#0D9488)
Surface / Card (#F8FAFC)
3.58:1FailPass AAAa Sample
Primary Brand (#0D9488)
Text Primary (#0F172A)
4.77:1Pass AAPass AAAa Sample
Primary Brand (#0D9488)
Text Muted (#64748B)
1.27:1FailFailAa Sample
Primary Brand (#0D9488)
Danger Red (#DC2626)
1.29:1FailFailAa Sample
Text Primary (#0F172A)
Background (#FFFFFF)
17.85:1Pass AAPass AAAa Sample
Text Primary (#0F172A)
Surface / Card (#F8FAFC)
17.06:1Pass AAPass AAAa Sample
Text Primary (#0F172A)
Primary Brand (#0D9488)
4.77:1Pass AAPass AAAa Sample
Text Primary (#0F172A)
Text Muted (#64748B)
3.75:1FailPass AAAa Sample
Text Primary (#0F172A)
Danger Red (#DC2626)
3.70:1FailPass AAAa Sample
Text Muted (#64748B)
Background (#FFFFFF)
4.76:1Pass AAPass AAAa Sample
Text Muted (#64748B)
Surface / Card (#F8FAFC)
4.55:1Pass AAPass AAAa Sample
Text Muted (#64748B)
Primary Brand (#0D9488)
1.27:1FailFailAa Sample
Text Muted (#64748B)
Text Primary (#0F172A)
3.75:1FailPass AAAa Sample
Text Muted (#64748B)
Danger Red (#DC2626)
1.01:1FailFailAa Sample
Danger Red (#DC2626)
Background (#FFFFFF)
4.83:1Pass AAPass AAAa Sample
Danger Red (#DC2626)
Surface / Card (#F8FAFC)
4.62:1Pass AAPass AAAa Sample
Danger Red (#DC2626)
Primary Brand (#0D9488)
1.29:1FailFailAa Sample
Danger Red (#DC2626)
Text Primary (#0F172A)
3.70:1FailPass AAAa Sample
Danger Red (#DC2626)
Text Muted (#64748B)
1.01:1FailFailAa Sample

About Theme Palette Matrix & Contrast Validator

Test brand palettes and UI themes against an N x N contrast matrix. Identify accessible color combinations for backgrounds, cards, typography, and interactive controls instantly.

Key Capabilities & Features

  • Custom theme palette manager (add/remove colors)
  • Pairwise N x N contrast ratio matrix
  • Instant Level AA and AAA pass/fail badges
  • Visual color swatch preview per pair
  • Responsive table layout with hover highlights

How to Use Theme Palette Matrix & Contrast Validator

1

Configure Palette

Add your brand colors, background surfaces, and text hues.

2

Inspect Matrix

Examine contrast ratios for all foreground/background pairs.

3

Select Combinations

Pair compliant colors for primary copy, muted text, and buttons.

Privacy & In-Browser Execution Guarantee

100% client-side theme evaluation. Palette colors are saved only in your local session.

Frequently Asked Questions

How many colors should be in an accessible palette?

Design systems typically maintain 5 to 10 foundational colors: dark text, light background, card surface, primary brand, secondary accent, and status hues (success, danger, warning).

Can primary brand colors fail text contrast?

Yes, vibrant brand colors (like bright cyan or yellow) often fail 4.5:1 text contrast on white. They can still be used for large backgrounds or decorative accents, but not body text.

What does WCAG SC 1.4.11 require for UI components?

Active user interface components (such as form inputs, buttons, and slider tracks) must have a contrast ratio of at least 3.0:1 against adjacent background colors.