Check WCAG Contrast for Accessible Text
Quando si applica
Use this when you are picking foreground and background colors for UI or content. Enter two sRGB hex colors, compare the ratio to WCAG thresholds, and iterate before you ship.
Strumento da usare
Rapporto di contrasto tra due colori hex e soglie AA/AAA.
Apri Contrasto WCAG →Passaggi
- 1Enter the text (foreground) color as #RRGGBB or #RGB.
- 2Enter the background color the same way.
- 3Read the contrast ratio and which WCAG rows pass or fail.
- 4Adjust colors until you meet your target (often AA for body text).
- 5Re-check after real content is placed (long paragraphs, small labels).
Esempi
- Gray #111827 on white #ffffff for long-form reading.
- Brand accent button: ensure both default and hover states still pass.
Cosa evitare
- Checking only one breakpoint while responsive themes change colors.
- Ignoring non-text UI that still needs discernible boundaries.
- Trusting contrast on gradients without sampling worst-case points.
Strumenti correlati
Sul blog
Altro in Strumenti immagine
- Comprimere immagini per pagine web piu veloci
- Preparare immagini per i formati dei social media
- Rimuovere i metadati EXIF prima di condividere foto
- Convertire immagini per compatibilita e dimensione file
- Aggiungere watermark per proteggere immagini pubblicate
- Sfocare informazioni sensibili prima di condividere immagini
Tutte le guide per attività oppure l’elenco completo nel hub Strumenti immagine.
FAQ
Does this replace an audit?
No. It is a fast sRGB check. Full audits cover motion, structure, and more.
Non-hex inputs?
This tool expects hex. Convert from HSL/RGB elsewhere first.
Tutte le guide per attività · Strumenti Strumenti immagine · Blog