对比度检查器 — Low-contrast text is one of the most common accessibility failures. This checker computes the WCAG contrast ratio between any two colors and tells you whether the pair passes AA and AAA for normal and large text.
Contrast calculations run locally in your browser.
Was 对比度检查器 useful?
对比度检查器是什么?
Low-contrast text is one of the most common accessibility failures. This checker computes the WCAG contrast ratio between any two colors and tells you whether the pair passes AA and AAA for normal and large text.
A live preview shows your exact combination, so you can judge readability with your own eyes before shipping a palette.
使用方法
-
Pick text and background colors
Use the two color pickers or type HEX values.
-
Read the ratio and badges
Pass/fail is shown for AA and AAA at both text sizes.
示例
Maximum contrast
Black on white is the reference maximum.
#000000 on #ffffff
结果: 21.00 : 1 — passes AA and AAA at all sizes
常见问题
相关指南
How to Test Color Contrast for Accessibility (WCAG 2.2 Explained)
Color contrast is the most-measured accessibility metric on the web. This guide explains the WCAG 2.2 contrast formula, the AA and AAA thresholds, and how to make sure your site is usable for people with low vision.
How to Make a Color Palette from a Photo (and Why You Should)
A photo is a great source for a color palette — the colors already work together. This guide covers the visual approach, the algorithmic approach, and the right tools for designers and developers.
The 8 Best Free Color Tools in 2026 (For Designers and Developers)
A curated list of the best free color tools: pickers, palette generators, contrast checkers, format converters, and image-based color extractors. All run locally, no signup, no upload.
相关工具
Last reviewed: 2026-11-21