HomeTools › Brand Color Accessibility Checker

Brand Color Accessibility Checker

Paste in your brand colors and instantly see which combinations pass WCAG AA and AAA contrast, how they work together as a palette, and which role each color should play — primary, accent, or neutral. Free, runs entirely in your browser, no file uploads.

Your colors

About Brand Color Accessibility Checker

This free browser-based tool combines three color audits in one workflow: WCAG 2.1 contrast compliance, color harmony analysis, and semantic role assignment. Paste in 2–8 hex color values and the tool instantly shows you which foreground/background pairs pass AA or AAA accessibility requirements, how your palette relates harmonically, and which role each color is best suited to play in your design system.

All calculations run client-side — nothing is sent to a server, no account is required, and no data is retained. The WCAG contrast formula uses the exact relative luminance calculation specified in WCAG 2.1 Success Criterion 1.4.3. AA thresholds: 4.5:1 for normal text, 3:1 for large text. AAA thresholds: 7:1 for normal text, 4.5:1 for large text.

How role assignment works

Primary — the color with the highest average contrast versatility (mean of contrast ratio against white and black). A high average means the color can carry text in both light and dark contexts. Secondary — second-highest versatility. Accent — the most saturated color in HSL space; naturally draws attention and suits CTAs or interactive states. Neutral — the least saturated color; suits backgrounds, borders, and supporting text.

Frequently asked questions

What's the difference between WCAG AA and AAA compliance?

AA is the legal baseline — required in most accessibility regulations and referenced in ADA technical standards. AA thresholds are 4.5:1 for normal text and 3:1 for large text. AAA raises those to 7:1 and 4.5:1. WCAG itself notes that AAA conformance for all content is not always possible; it is most commonly required for government and healthcare platforms serving users with severe visual impairments.

My primary brand color fails contrast against white. What should I do?

The role assignment panel shows which of your palette colors is most versatile for text. If the primary brand color fails, use it for decorative elements, borders, or large-scale backgrounds where the contrast threshold is lower (3:1 for large text). Identify a darker shade of the same hue — or an existing neutral in the palette — that meets 4.5:1 for body text use.

Does the tool handle RGBA or HSL values, or only hex?

The tool accepts 6-digit hex values (#RRGGBB). Transparency is not evaluated because WCAG contrast is defined for opaque colors — a semi-transparent foreground on a background requires knowing the exact background to compute the real contrast. Convert RGBA to its opaque equivalent first using the formula: final_channel = alpha × foreground_channel + (1 - alpha) × background_channel for each RGB channel.

Does this work for checking icon contrast, not just text?

Yes — WCAG 1.4.11 (Non-text Contrast) requires 3:1 contrast for UI components and graphical elements, which is the same threshold as large text. The matrix shows which pairs meet 3:1 and which meet 4.5:1, so you can apply the appropriate threshold to text vs. icon use cases from the same view.

How many colors can I check at once?

The tool supports 2 to 8 colors per session. Two is the minimum required for any contrast pair; eight covers any real-world brand palette. For each color added, the contrast matrix adds one row and one column — at 8 colors, the full matrix evaluates 56 unique foreground/background combinations.

Does the tool send my colors to a server?

No. All calculations — contrast ratios, harmony analysis, and color role assignment — run entirely in your browser's JavaScript engine using the WCAG luminance formula. Nothing is sent to a server. Closing or refreshing the tab removes every trace of the colors you entered.

How do I export or save the results?

Click "Copy CSS variables" to copy the role assignments as CSS custom property declarations (--color-primary, --color-secondary, --color-accent, --color-neutral) ready to paste into a stylesheet or design token file. Individual contrast ratios shown in the matrix can be transcribed into a compliance report or accessibility audit document.

Keep going

More image tools

LiveImage Processing

Color Picker

Pick any color with a native browser dialog and instantly get the HEX, RGB, and HSL values. Keeps a recent-colors history.

Open tool
LiveImage Processing

Hex to RGB Color Converter

Convert between HEX, RGB, and HSL color formats in any direction. All three update live as you type.

Open tool
LiveImage Processing

Invert Colors

Invert the colors of any image online. Free, no signup, download result in seconds.

Open tool
LiveImage Processing

Remove Background

Remove solid-color backgrounds from product photos and graphics. Free, server-side processing.

Open tool