Skip to main content

QR Code Contrast Checker

Check whether your QR foreground and background colors have enough contrast for reliable scanning before you print.

Excellent: 17.74:1 contrast ratio

This color pair should scan reliably in most normal lighting when printed with a clear quiet zone.

Live Preview

Fill in details to generate QR

No Expiry
No Data Stored
Local Static QR
∞ Scans

Why QR contrast matters

QR scanners need clear separation between dark modules and the light background. Low-contrast brand colors, reversed colors, transparent backgrounds, and textured surfaces can make a QR code fail in real lighting.

Practical rules

  • Use dark foreground modules on a light background.
  • Keep a clean quiet zone around the QR code.
  • Use higher error correction when adding logos or printing outdoors.
  • Run the QR quality test after exporting the final image.

Methodology

Contrast is calculated using the WCAG 2.1 relative luminance formula, which computes the perceived brightness ratio between two colors. A ratio of 4.5:1 or higher meets WCAG Level AA for normal text, while 7:1 meets Level AAA. For QR codes, we recommend at least 4:1 for reliable scanning across different lighting conditions and camera qualities. The analysis follows ISO/IEC 18004:2015 guidelines for symbol contrast specifications.

Last updated: June 2026

Related tools