Vérifiez si vos couleurs sont lisibles et accessibles.
Testez les couleurs de premier plan et d’arrière-plan, prévisualisez le résultat, vérifiez WCAG AA et AAA puis copiez des valeurs HEX ou des variables CSS propres.
La lisibilité des couleurs compte.
This sample updates as you change the foreground and background colours.
Copier the colour pairing
Utiliser this in CSS, a design system, or a quick accessibility note.
:root {
--contrast-text: #111827;
--contrast-background: #FFFFFF;
}
Accessible exemples to try
Start from a real palette or a safe high-contrast pairing, then adjust it for your project.
What the score means
The higher the ratio, the easier the combination is to read for more people and more display conditions.
Utiliser at least 4.5:1 for body copy, navigation, links, buttons and most interface text.
Large text can pass at 3:1, but higher contrast usually still feels clearer and more professional.
7:1 is the stronger target for long reading, critical information, accessibility-first products and dashboards.