Comprobador de contraste de color WCAG gratuito
El comprobador de contraste de color mide el ratio de contraste WCAG entre un color de primer plano y uno de fondo. Te indica si tu combinación cumple las directrices de accesibilidad para texto normal y texto grande.
Contrast is only one part of accessibility, so the Color Blindness Simulator is the companion check. Palettes that pass it can be built with the Color Harmony Generator and the Material Color Palette Generator.
Cómo usar Contraste de color
- 1 Enter the foreground colour — the text — and the background colour it will sit on.
- 2 Read the ratio. Anything at or above 4.5:1 passes WCAG AA for normal body text, and 3:1 passes for large text.
- 3 Check the AAA row if you are aiming higher, which needs 7:1 for normal text.
- 4 Nudge either colour and watch the ratio respond, so you can find the smallest change that clears the threshold.
Cómo usarlo
Elige un color de primer plano (texto) y un color de fondo. La herramienta muestra el ratio de contraste y si cumple WCAG AA y AAA para texto normal y grande.
- Ratio de contraste WCAG en vivo
- Aprueba o suspende AA / AAA para texto normal y grande
- Vista previa del texto de ejemplo en ambos colores
Preguntas frecuentes
Which text counts as "large" for the lower 3:1 threshold?
WCAG defines large text as at least 18 points, or 14 points when bold. In pixels that is roughly 24px regular or 18.66px bold. The logic is that thicker strokes are easier to resolve, so a lower ratio still reads comfortably — it is not permission to use low-contrast text in a heading that is visually small.
The ratio passes but the text still looks washed out. Why?
A contrast ratio is a minimum for legibility, not a measure of comfort. Two colours can clear 4.5:1 and still be tiring if one is a saturated hue and the other is near its own lightness, because the eye has to work harder to separate them than the raw luminance difference suggests. For long passages of body text, aim comfortably above the threshold rather than landing exactly on it.
Does the checker apply to icons and borders too?
Yes, but with different rules. Non-text content such as icons that convey meaning, form field borders, and focus indicators need 3:1 against their adjacent colour under the WCAG 1.4.11 criteria. Purely decorative elements that carry no information are exempt — but if removing the element would lose meaning, it is not decorative.
Herramientas de imagen y color relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Contraste de color: