Contrast Checker

Contrast Checker is a free online tool that provides contrast checker color conversions, harmonious palette generation, and WCAG AA/AAA contrast checking. It supports HEX, RGB, HSL, OKLCH, CSS inputs and outputs using sRGB/HSL/OKLCH color math and WCAG 2.1 luminance contrast with live previews and instant export. All processing runs locally inside your browser tab with zero server uploads, no sign-up, and full offline support, plus direct AI agent access via the color_convert_contrast MCP tool.

纯浏览器本地计算,文件零上传、无需账号。

技术规格

Category
开发工具
Formats
HEX, RGB, HSL, OKLCH, CSS
Runtime
纯浏览器本地计算,文件零上传、无需账号。
Engine
color-suite
MCP
color_convert_contrast

使用步骤: Contrast Checker

  1. Pick a color or enter HEX, RGB, or HSL values into Contrast Checker.
  2. Inspect converted color spaces, generated harmonies, or foreground/background contrast ratios.
  3. Copy CSS variables, palette hex codes, or WCAG compliance results.

常见问题

How does Contrast Checker verify accessibility contrast?
It computes relative luminance per WCAG 2.1 and reports exact contrast ratios against AA (4.5:1) and AAA (7:1) thresholds.
Which color formats are converted automatically?
Any valid HEX, RGB, or HSL input converts simultaneously to HEX, RGB, HSL, and CSS custom property formats.
Can I export palettes for CSS or Tailwind?
Yes. Color palettes copy directly as HEX lists or CSS custom properties.

相关工具