Logo & Branding Design

Will Your Brand Colours Pass Accessibility Checks? How to Test a Palette Before You Approve It

Test brand colour pairs against WCAG 2.2 contrast ratios, ask your designer for accessible shades and approve your palette with a clear checklist.

Will Your Brand Colours Pass Accessibility Checks? How to Test a Palette Before You Approve It

A brand palette can look confident on a presentation slide and still fail contrast once its colours become button labels, links and form borders on a website. After reading this, you will be able to check each colour pairing against the WCAG 2.2 contrast thresholds, ask your designer for accessible variants that keep the hero colour, and sign off a palette with a clear checklist.

Why a palette that looks right in the deck can fail on the website

Decks show brand colours as large swatches and big headlines. A website asks the same colours to do smaller jobs: a link inside a paragraph, a button label, a thin outline around a form field. A mid-tone that reads well at headline size can be hard to read as body text on white.

Brand guidelines do not change that. Understanding SC 1.4.3 Contrast (Minimum) states that text which is part of a logo or brand name has no contrast requirement, but that "beyond logos and logotypes, text that has insufficient contrast due to corporate identity or brand guidelines is not exempted." The criterion also covers placeholder text and text shown on hover or keyboard focus, so pale placeholder greys and hover tints need checking too.

Choosing colours for meaning is a separate question from legibility. For background, see Color Psychology in Branding: What's Real, What's Not.

The three numbers to check: 4.5:1, 3:1 and 3:1

WCAG calculates contrast from the relative luminance of the lighter and darker colours, using (L1 + 0.05) / (L2 + 0.05), giving ratios from 1:1 to 21:1, according to the W3C contrast definition. Any contrast checker computes this from two hex values; what matters is which threshold applies to each use.

Use of the colour WCAG 2.2 criterion Level Minimum ratio
Normal-size text and images of text 1.4.3 Contrast (Minimum) AA 4.5:1
Large text: 18pt (about 24px), or 14pt bold (about 18.5px) 1.4.3 Contrast (Minimum) AA 3:1
Visual information that identifies UI components and their states, such as borders and focus indicators 1.4.11 Non-text Contrast AA 3:1 against adjacent colours
Parts of graphics needed to understand content, such as meaningful icons and chart lines 1.4.11 Non-text Contrast AA 3:1 against adjacent colours
Logotype or brand name text 1.4.3 exception n/a No requirement

The text thresholds come from SC 1.4.3, which converts points to CSS pixels at 1pt = 1.333px. The non-text threshold comes from SC 1.4.11 Non-text Contrast, which excludes inactive components and components whose appearance is determined by the browser and not modified by the author.

Three details matter at sign-off:

  • No rounding. W3C treats the ratios as strict thresholds. A computed 4.499:1 does not meet 4.5:1, so if a checker shows 4.49:1, the pair fails.
  • Thin fonts can mislead. Anti-aliasing can render thin or unusual typefaces fainter than their defined colour. W3C encourages a heavier font or a pair that exceeds the minimum in those cases.
  • AAA is optional headroom. web.dev describes 4.5:1 as a minimum and suggests 7:1 (Level AAA) to support users with low vision.

The tradeoff: large-text relief lets a mid-tone brand colour work for headlines at 3:1, but body copy, small button labels and links still need 4.5:1. A colour that only passes at 3:1 has a narrower job than the deck suggests.

Three brass gauges on a shelf, each with a marked threshold line, matched to small text, large headline type and a form border. It shows which minimum ratio applies to each use of a colour.

Build a pairing matrix before you sign off

A contrast ratio belongs to a pair of colours, not a single swatch. A colour can pass on white and fail on your off-white. We recommend a pairing matrix (a ColorPark working approach, not a WCAG rule) with one row per foreground, background and use combination:

  1. List every palette colour you plan to use as a foreground, including greys and semantic colours such as error red.
  2. Pair each with every realistic background: white, off-white, brand dark and any tinted panel.
  3. For each pair, add a row for each intended use: body text, large heading, button label, icon, border or focus ring.
  4. Record the threshold that use requires (4.5:1, 3:1 or none).
  5. Enter the unrounded ratio from a contrast checker.
  6. Mark failing rows "not permitted" rather than deleting them, so nobody reintroduces them later.

A template before testing looks like this:

Foreground Background Intended use Threshold Computed ratio
Hero colour White Body links 4.5:1 ___
Hero colour White Headings at 24px or larger 3:1 ___
Light grey White Form field border 3:1 ___
Accent yellow White Icons 3:1 ___

W3C's Non-text Contrast examples show why greys and accents deserve rows of their own. A #9D9D9D checkbox border on white reaches only 2.7:1, failing the 3:1 requirement. A bright yellow (#FFF000) on white reaches 1.2:1. An author-styled #AAA focus indicator on white reaches 2.3:1. If your palette has a vivid accent or a light grey, test it before assigning it to icons, borders or text.

Common mistakes when filling in the matrix:

  • Testing against pure white when the site uses an off-white background.
  • Checking the button fill against the page but not the label text against the fill, which is a text pair needing 4.5:1 unless the label is large.
  • Leaving out focus indicators.
  • Judging colours by eye instead of entering hex values into a checker.

AI-assisted tools can generate palettes quickly, but each pair still needs a real ratio. For background, see Claude Design Is NOT What You Think: The Real Future of AI in Design (2026 Guide).

A grid of paper colour chips laid out in rows and columns, each foreground chip placed on different background cards. It shows how a pairing matrix tests every colour combination and use.

Don't let colour carry the meaning alone

SC 1.4.1 Use of Color (Level A) says colour must not be the only visual means of conveying information, indicating an action, prompting a response or distinguishing a visual element. W3C's examples include "required fields are red" and "error is shown in red". An error red and a success green are not finished decisions until each has a second cue, such as an icon or a label like "Error" or "Saved".

W3C allows one nuance. A lightness difference reaching a 3:1 contrast ratio between two colours counts as an additional visual distinction. However, if meaning depends on recognising a particular colour, such as green for valid and red for invalid, an extra indicator is required regardless of the ratio.

For links, the Non-text Contrast page notes that a link colour reaching 3:1 against surrounding non-link text can satisfy Use of Color, because it relies on contrast as well as hue. Add these items to the palette spec:

  • Error, warning and success colours each paired with an icon or label.
  • Links underlined, or at least 3:1 against surrounding body text.
  • Chart colours backed by labels or patterns, not hue alone.

The tradeoff is a slightly larger style guide, but it stops each new page from inventing its own error styling.

How to ask your designer for accessible variants without losing the brand colour

Failing a pair does not mean abandoning the hero colour. The usual fix is to give each colour a family of variants and assign each variant a job.

The GOV.UK Design System colour palette shows this structure. Its blue has a primary (#1d70b8), tints at 25%, 50%, 80% and 95% running from #5694ca to #f4f8fb, and shades including shade-10 #1a65a6, shade-25 #16548a and shade-50 #0f385c. Your brand can follow the same pattern: the hero colour stays as it is, darker shades handle small text, and lighter tints become backgrounds.

A brief you can send to your designer (our recommended wording, adapt as needed):

  • Keep the primary brand colour for large display type, fills, illustration and the logotype.
  • Provide a darker text-safe shade of each brand colour that reaches at least 4.5:1 on our main backgrounds.
  • Provide lighter tints for background panels, and confirm which text colours pass on each.
  • Provide a border and focus-indicator colour that reaches 3:1 against adjacent colours.
  • Document every approved pair with its computed ratio and permitted use.

One style-guide rule, before and after:

  • Before: "Brand teal for all text and links."
  • After: "Brand teal for headings at 24px or larger, where the teal-on-white pair meets 3:1. Teal-dark for body links and button labels, where the pair meets 4.5:1."

Confirm both ratios with a checker and record them in the matrix before writing the rule into the guide.

FAQ

Does my logo need to pass contrast?

No. Text that is part of a logo or brand name has no contrast requirement under SC 1.4.3. Other text set in brand colours is not exempt.

Is 4.49:1 close enough?

No. W3C states that computed values should not be rounded, and gives 4.499:1 as an example that does not meet 4.5:1.

Do disabled buttons need contrast?

Text in inactive user interface components has no contrast requirement under SC 1.4.3, and SC 1.4.11 excludes inactive components. Make sure the button is genuinely inactive, not just styled to look faded.

Should we aim for 7:1?

The AA minimum for normal text is 4.5:1. web.dev suggests 7:1 (Level AAA) for broader low-vision support. It is optional, and worth considering for long-form body text.

Does a hover colour need 3:1?

W3C's checkbox example shows that a subtle grey hover fill (#DEDEDE) does not itself need 3:1 against the page, because pointer position indicates hover. The black border keeps a 15:1 ratio against that fill, and any text shown on hover must meet the text thresholds.

Your palette approval checklist for the next design review

Bring the pairing matrix to the review and work through these points before approving the palette:

  1. Every normal-size text pair reaches 4.5:1 or above, unrounded.
  2. Pairs that only reach 3:1 are restricted to large text: 24px and above, or about 18.5px and above when bold.
  3. Placeholder, hover and focus text pairs are included and checked.
  4. Form borders, meaningful icons, chart lines and focus indicators reach 3:1 against adjacent colours.
  5. No error, success or required state relies on hue alone; each has an icon or label.
  6. Links are underlined or reach 3:1 against surrounding text.
  7. Text-safe shades and background tints are named for each brand colour.
  8. Every approved pair is documented with its ratio and permitted use.
  9. The logotype is treated as exempt, and all other brand-coloured text is held to the thresholds.

If any row fails, ask for a darker shade or a different background rather than a new hero colour.

Need a hand putting this into practice? See Logo & brand identity.

Share Your Thoughts

Your email won't be published. We welcome your feedback, questions, or suggestions.