Comprobador de contraste
GratisNuevaComprueba cualquier par de colores con WCAG AA y 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.
Cómo usar Comprobador de contraste
- 1Enter a foreground and a background colour with the pickers, or paste a hex code.
- 2Read the contrast ratio and the four WCAG AA and AAA pass or fail results.
- 3Compare the large and normal text previews to judge the pair in context.
- 4If a pair fails, apply the suggested darkening or lightening, or swap the two colours.
Comprobador de contraste: preguntas frecuentes
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.
¿Usas Comprobador de contraste a menudo?
Pro elimina todos los anuncios, aumenta los límites de archivo y añade modo por lotes y preajustes guardados en todas las herramientas.
Comparar planes →