Skip to content

Color Contrast Matrix

Color

Generate a contrast matrix for multiple colors to check WCAG AA and AAA compliance.

0
0

Color Contrast Matrix

#000000
#ffffff
#ff0000
#00ff00
#0000ff
#ffff00
#ff00ff
#00ffff
#000000
-
21.0
5.3
15.3
2.4
19.6
6.7
16.7
#ffffff
21.0
-
4.0
1.4
8.6
1.1
3.1
1.3
#ff0000
5.3
4.0
-
2.9
2.1
3.7
1.3
3.2
#00ff00
15.3
1.4
2.9
-
6.3
1.3
2.3
1.1
#0000ff
2.4
8.6
2.1
6.3
-
8.0
2.7
6.9
#ffff00
19.6
1.1
3.7
1.3
8.0
-
2.9
1.2
#ff00ff
6.7
3.1
1.3
2.3
2.7
2.9
-
2.5
#00ffff
16.7
1.3
3.2
1.1
6.9
1.2
2.5
-
AAA (7:1+)
AA (4.5:1+)
AA Large (3:1+)
Fail (<3:1)

Quick answers for Color Contrast Matrix

What does the Color Contrast Matrix do?
Generate a contrast matrix for multiple colors to check WCAG AA and AAA compliance. The Color Contrast Matrix is one of 900+ free developer tools on Toolblip - all open to use without a signup.
How do I use the Color Contrast Matrix?
Open the Color Contrast Matrix on this page, paste or upload your input, and the result updates as you type. Use the copy button to grab the output, or adjust options to tune the result. Nothing you enter leaves your browser.
Is the Color Contrast Matrix free to use?
Yes. The Color Contrast Matrix is a free online tool on Toolblip - no signup, no account, no hidden usage limits. It runs in your browser and works on desktop and mobile.
Is the Color Contrast Matrix safe and private?
Yes. The Color Contrast Matrix processes your data entirely client-side, so nothing you paste is uploaded or stored on any server. It's safe to use with internal snippets, private keys for debugging, or any other sensitive content you'd rather not send to a remote service.
What color formats does the Color Contrast Matrix support?
The Color Contrast Matrix works with the formats web developers reach for every day - HEX, RGB / RGBA, and HSL. You can copy any value with one click for use in CSS, design tools, or code.
Can I use the Color Contrast Matrix offline?
Once the page has loaded, the Color Contrast Matrix continues to work without an internet connection. Bookmark this page and return to it anytime - all logic runs locally.