Small Text (16px) β The quick brown fox jumps over the lazy dog.
Large Text (24px) β The quick brown fox.
Bold Small (14px bold) β Lorem ipsum dolor sit amet.
Heading (32px bold)
Check foreground/background color contrast ratio against WCAG 2.1 accessibility standards.
Small Text (16px) β The quick brown fox jumps over the lazy dog.
Large Text (24px) β The quick brown fox.
Bold Small (14px bold) β Lorem ipsum dolor sit amet.
Heading (32px bold)
The Web Content Accessibility Guidelines (WCAG) 2.1 define minimum contrast ratios to ensure text is readable for people with visual impairments, including color blindness. The contrast ratio is calculated using the relative luminance of the two colors, ranging from 1:1 (identical) to 21:1 (black on white).
WCAG defines two conformance levels: AA (minimum) requires a 4.5:1 ratio for normal text and 3:1 for large text (β₯18pt or β₯14pt bold). AAA (enhanced) requires 7:1 for normal text and 4.5:1 for large text. All calculations are done locally in your browser.
#1a2b3c or shorthand #abcrgb(26, 43, 60)hsl(210, 40%, 17%)