PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 设计与 CSS

颜色对比度检查.

按 WCAG 2.2 AA 和 AAA 标准检查普通文本、大号文本和界面组件的颜色对比度,提供实时预览和最接近的合格颜色。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

Large heading text

Body text at 16 px: the quick brown fox jumps over the lazy dog. Readable text helps everyone, including people with low vision.

Small print at 13 px — the hardest to read.

Button
Contrast ratio6.00 : 1
Normal text — AA (4.5:1)✓ Pass
Normal text — AAA (7:1)✕ Fail
Large text — AA (3:1)✓ Pass
Large text — AAA (4.5:1)✓ Pass
UI components & graphics — AA (3:1)✓ Pass
Closest passing text colours

Ratios follow WCAG 2.2 (relative luminance of sRGB colours). Text over images or gradients must be checked at its lowest-contrast point.

使用颜色对比度检查的步骤

输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

WCAG 2.x relative-luminance contrast for solid sRGB colours. Text over images or gradients must be checked at its weakest point.

Contrast ratio with WCAG 1.4.3, 1.4.6 and 1.4.11 checks, live sample text at several sizes, a button preview, automatic nearest-passing colour (lightness adjusted) for AA and AAA, and CSS copy.

#336699 on white = 6.00:1 → passes AA for all text, fails AAA for normal text; the tool suggests #2d5b88 (7.09:1) for AAA.