对比度检查器 — Uttir
Skip to main content

对比度检查器

检查文字与背景颜色组合是否符合 WCAG AA 和 AAA 对比度要求。

对比度检查器 — 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.

使用方法

  1. Pick text and background colors

    Use the two color pickers or type HEX values.

  2. 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

常见问题

相关指南

相关工具

Last reviewed: 2026-11-21