Entrada y opciones
Comprueba un par primer plano/fondo frente a los umbrales de contraste WCAG 2.1 AA y AAA.
Aa — Sample text
El zorro marrón rápido salta sobre el perro perezoso.
- Ratio de contraste
- 17.16:1
- Calificación
- AAA
- Texto normal AAA
- Pass
Todo el cálculo y la conversión se ejecutan en local en el navegador mediante el motor V8 o WebAssembly. Los archivos y el texto nunca salen de tu dispositivo.
Acerca de
A palette can look good and still fail accessibility. Enter a foreground and background colour to get the WCAG contrast ratio and a clear pass/fail breakdown for normal text, large text and UI components.
Cómo usar
Formatos y especificaciones
Preguntas frecuentes
Which thresholds are used?
WCAG 2.1: 4.5:1 for normal text and 3:1 for large text at AA; 7:1 and 4.5:1 at AAA. Non-text UI components use 3:1.
What counts as large text?
At least 18pt (24px) regular, or 14pt (18.66px) bold.
Does alpha affect the result?
Alpha is not modelled. Blend semi-transparent colours into an opaque value before checking them.
Is the ratio rounded?
It is displayed to two decimals, but pass/fail is decided from the unrounded value.
Limitaciones
- Semi-transparent colours are not composited; alpha must be resolved beforehand.
- Only WCAG 2.x relative luminance contrast is calculated, not APCA.
- The result describes the colour pair only, not font weight, size or rendering conditions.