Ir para o conteúdo
ZeroKit

Verificador de contraste

GrátisNova

Confira qualquer par de cores com WCAG AA e AAA.

The contrast checker computes the WCAG 2.1 contrast ratio between a text colour and its background, then tests it against the AA and AAA thresholds for normal and large text. Everything is calculated locally, so no palette ever leaves your browser.

Loading tool…
Roda 100% no seu navegador — nada é enviado.·Ferramentas de cor

Como usar Verificador de contraste

  1. 1Enter a foreground and a background colour with the pickers, or paste a hex code.
  2. 2Read the contrast ratio and the four WCAG AA and AAA pass or fail results.
  3. 3Compare the large and normal text previews to judge the pair in context.
  4. 4If a pair fails, apply the suggested darkening or lightening, or swap the two colours.

Perguntas frequentes: Verificador de contraste

What contrast ratio do I need?

WCAG AA asks for 4.5:1 for normal text and 3:1 for large text; AAA asks for 7:1 and 4.5:1. Interactive UI components and meaningful graphics need at least 3:1 against their surroundings.

How is the contrast ratio calculated?

Each colour is converted to relative luminance with the WCAG formula, then the ratio is (lighter + 0.05) / (darker + 0.05). It runs from 1:1 for identical colours up to 21:1 for black on white and ignores hue entirely.

What counts as large text?

At least 18.66px (14pt) when bold, or 24px (18pt) at regular weight. Anything smaller is normal text and has to meet the stricter 4.5:1 threshold under AA.

Does a passing ratio guarantee accessible text?

No, it only covers colour contrast. Readability also depends on font size and weight, letter spacing, background images, glare and colour-vision deficiencies, so test real screens too.

Usa Verificador de contraste com frequência?

O Pro remove todos os anúncios, aumenta os limites de arquivo e adiciona modo em lote e predefinições salvas em todas as ferramentas.

Comparar planos →

Ferramentas relacionadas