Updated
Check text against its background
Contrast is the ratio between the lighter and darker relative luminance, after sRGB channels are converted to linear light. Normal-text AA requires 4.5:1; large-text AA requires 3:1. The tool compares the unrounded ratio before displaying it.
A worked example
Black text on white has a 21:1 contrast ratio. Identical colors have a 1:1 ratio and fail the text thresholds.
Before you use the result
Opaque sRGB colors only. This is a color-pair check, not an accessibility audit. Large text means at least 18 point regular or 14 point bold; antialiasing and other page content can affect readability.
Cite this page
ToolOctopus. “Color contrast checker.” Updated 2026-09-20. https://tooloctopus.com/color-contrast-checker.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
