Color format converter
Convert HEX, RGB and HSL colors with alpha transparency, preview the swatch and copy ready-to-use CSS color values.
Check WCAG 2.2 text contrast with a live preview and separate AA and AAA results for normal and large text.
Readable text makes the message clear.
Normal text · Aa 123
WCAG 2.2 calculation. Transparent backgrounds are composited over white.
Check the foreground and background actually used by your interface. Passing contrast alone does not establish accessibility of the whole page.
Enter or pick text and background colors. Normal text requires 4.5:1 for AA and 7:1 for AAA. Large text requires 3:1 and 4.5:1 respectively.
Large text means at least 24px, or approximately 18.67px when bold. Transparent backgrounds are composited over white before the contrast is calculated. This checks color contrast only; it is not a complete accessibility evaluation.
Generally at least 24px, or about 18.67px when bold. Normal text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1 and 4.5:1. Transparent backgrounds are composited over white here.
The visible ratio is rounded to two decimal places, but pass or fail uses the unrounded value. Increase the contrast until the relevant check actually passes.
Test the actual backgrounds behind the text, including the weakest-contrast area. This tool compares two colors; transparent backgrounds are placed over white, so that assumption must match your page.
Your choice about analytics
We use Umami to measure page visits. Analytics is optional, and your tools work either way.
Your current setting allows analytics.
Your current setting does not allow analytics.
The analytics service has changed. Refresh the page after finishing your current work to apply the new settings.
Your browser is sending a Do Not Track or Global Privacy Control signal. Analytics will remain off.
We use Umami to understand which pages people visit and how they find this site. You can decline or change your choice at any time. All site features will still work.
Your choice is saved in this browser for six months. Analytics does not upload files or content you enter in our tools.
Privacy Policy
Comments
0