Trình kiểm tra độ tương phản màu

Color contrast checker: calculate contrast per WCAG 2.1 and AA/AAA pass with picker and replacement suggestions for accessible design.

Cách sử dụng

Chọn hoặc nhập màu nền trước và màu nền sau, trang web sẽ cung cấp tỷ lệ tương phản và tình trạng đạt WCAG AA/AAA theo thời gian thực, đồng thời xem trước hiệu ứng thực tế.

Overview

Color Contrast Checker is a Color tool. Calculate contrast per WCAG 2.1 and AA/AAA pass with picker and replacement suggestions for accessible design. It runs 100% in your browser with no upload, so you get instant results with privacy. Whether you need a quick answer or batch processing with precise control, you can enter, validate and export in seconds. The UI is responsive on mobile, tablet and desktop and supports one-click copy.

Use cases

  • Daily use of Color Contrast Checker: Pick foreground and background colors; the ratio and WCAG AA/AAA levels are shown instantly with a live preview. — enter and get instant results without manual lookup.
  • One-click copy keeps results ready to save, check or share with family and pros.
  • Use Color Contrast Checker offline or on poor network — all calculations stay local and private.
  • Check WCAG contrast while picking UI colors to avoid accessibility rejections
  • Generate harmonious palettes and complementary colors for campaigns

How to use

  1. 1 Pick foreground and background colors; the ratio and WCAG AA/AAA levels are shown instantly with a live preview..
  2. 2 Switch color spaces and watch live preview and contrast scores
  3. 3 Copy results as CSS, Tailwind or design-token formats
  4. 4 Export palettes as ASE/JSON for Figma or Photoshop

Highlights

  • Local & private: processing stays in your browser
  • Live validation with tolerant parsing
  • One-click copy and export for docs, code or sheets
  • Batch and offline support under poor network

Notes

  • Alpha affects blended contrast; re-check on final background
  • Displays vary—verify critical colors on target devices
  • Export large palettes in batches to avoid memory spikes

FAQ

Is conversion lossy?
No. Conversions use standard sRGB/HSL/HSV formulas with high precision.
Why does contrast fail?
Foreground/background luminance is too close—aim for at least 4.5:1 for body text.
How is Color Contrast Checker different?
It runs locally with a focus on speed and privacy, plus tolerant parsing for “wcag, contrast checker” and one-click copy for reuse.
Can I use results in official reports?
Use it as a working draft and cross-check with authoritative sources; keep the exported log and parameters for traceability.
Tip:Tip: Bookmark this page or pin the tab; find related tools via categories and search.

All calculations run locally in your browser; nothing is uploaded.