How the WCAG contrast ratio is calculated from hex colors
Follow an opaque sRGB pair from hexadecimal channels through linear light, relative luminance and the final ratio.
Read articleMeasured contrast
Three focused articles explain the formula, threshold context and strict boundary between a color-pair result and an accessibility audit.
Follow an opaque sRGB pair from hexadecimal channels through linear light, relative luminance and the final ratio.
Read articleRead 3:1, 4.5:1 and 7:1 as references tied to content context, not as interchangeable quality scores.
Read articleSeparate a reproducible color calculation from the much broader work of reviewing rendered interfaces and accessibility conformance.
Read article