颜色对比度检查器
检查颜色对比度是否符合 WCAG 标准。确保您的颜色满足可访问性要求。
颜色对比度检查器
示例文本
这是您的文本显示效果
功能介绍
The Color Contrast Checker tool calculates contrast ratios between foreground and background colors and evaluates them against WCAG accessibility standards. It helps ensure your designs are readable for more users.
什么时候用这个工具?
Use this tool whenever you choose text and background colors for UI elements, especially for buttons, links, and body text.
使用步骤
Enter foreground and background colors
Provide colors in HEX, RGB, or other supported formats for text and its background.
Check contrast ratio
See the computed contrast ratio and whether it meets WCAG AA or AAA requirements for different text sizes.
Adjust colors if needed
Tweak either color until the ratio passes the desired accessibility level.
使用示例
Validating a brand color palette
Ensure your chosen brand colors still provide enough contrast when used for body text on white or dark backgrounds.
