
Email Header Analyzer
Read unfolded email headers and recorded delivery hops. Inspect authentication claims as pasted text; this page does not independently verify SPF, DKIM or DMARC.
Open toolCheck the WCAG 2 contrast ratio between an opaque text color and background. This online color contrast checker shows AA and AAA outcomes for normal and large text.
Enter the inputs, then select Check contrast.
Result will appear here
The checker converts two opaque hexadecimal colors to relative luminance and compares their unrounded contrast ratio with the displayed thresholds.
The displayed ratio is rounded to two decimal places. The normal and large text outcomes describe this color pair; they do not certify the accessibility of a whole page.
Enter a three digit or six digit hexadecimal color for each field.
Reference: W3C: Contrast minimum.

Review the input parameters, allowed value ranges, and worked reference cases for the Color Contrast Checker below before running your calculation.
| Parameter / Scenario | Default / Sample Value | Rule or Allowed Range | Output / Usage Note |
|---|---|---|---|
| Input: Text hex color | #000000 | Input type: text | Required workspace parameter |
| Input: Background hex color | #ffffff | Input type: text | Required workspace parameter |
Enter the opaque text color and the opaque background color used together in the component.
Enter the hexadecimal text color and the solid background immediately behind it. Use the component values rather than a nearby border or panel color. Alpha and image backgrounds are outside this pair calculation.
Run the checker and inspect the ratio and color-pair preview. The ratio shown is rounded for display, while threshold checks use the full calculated value.
Review AA and AAA for normal and large text separately, using the actual font size and weight. The supporting rows describe this pair; the note does not certify the rest of the interface.
Compare baseline and alternative runs for Color Contrast Checker before exporting the result.
Test body copy against the page background before adding it to a style guide. Use the normal text outcome unless the rendered text qualifies as large. A heading label in the design file does not determine its contrast category.

Enter the label color and the solid button fill to inspect that state. Repeat for each fill used by hover or focus. If the button has a gradient, identify the colors behind the letters separately instead of treating one endpoint as the whole background.

Test alternative colors for secondary information such as captions or counts. Record which pair each result refers to so the design discussion stays tied to a specific background. Contrast alone does not decide whether the information is visually prominent enough.

Review the calculated output alongside your entered parameters and unit conventions.
Every calculation follows the rule: Contrast = (lighter relative luminance + 0.05) ÷ (darker relative luminance + 0.05). Because JavaScript uses IEEE 754 double-precision floating-point arithmetic, numeric outputs display up to 12 significant digits where applicable.
Always cross-check the displayed result against the scope note (WCAG AA needs 4.5:1 for normal text or 3:1 for large text; AAA needs 7:1 or 4.5:1. Large text means at least 18 pt, or 14 pt bold. Alpha, images, gradients, and an entire page's accessibility are not assessed) before applying the value to production specifications, financial models, or lab records.

Choose the actual foreground and background colors before applying the result to a design.
Operational scope: WCAG AA needs 4.5:1 for normal text or 3:1 for large text; AAA needs 7:1 or 4.5:1. Large text means at least 18 pt, or 14 pt bold. Alpha, images, gradients, and an entire page's accessibility are not assessed. Inputs that violate minimum/maximum bounds or required format rules are rejected with a clear diagnostic prompt.
Need an adjacent calculation in Web & Accessibility? Use the related tools linked below to chain your workflow without leaving your browser.


Read unfolded email headers and recorded delivery hops. Inspect authentication claims as pasted text; this page does not independently verify SPF, DKIM or DMARC.
Open tool
Check a bounded email address syntax.
Open toolExtract href values and link text from pasted HTML and resolve relative links against your supplied base URL.
Open toolChoose another tool for your next calculation, conversion, or text task.

Generate a percent-encoded mailto link from recipients, subject and body.
Open tool
Draft three meta descriptions from your own page facts. Local text rules combine the supplied name, phrase and description within a chosen character limit.
Open tool
Escape supplied text and write title, description and canonical HTML elements.
Open toolExtract direct loc entries and available metadata from a sitemap XML file or pasted text, then download CSV.
Open toolAnswers about using Color Contrast Checker and understanding its results.
No. It checks one opaque text/background color pair only.
No. Threshold checks use the unrounded ratio.
Alpha is not modeled here. Determine the resulting opaque foreground and background before entering the pair.
This calculation accepts two opaque hexadecimal colors. A gradient has different colors at different positions, so one endpoint does not describe the whole background.
Choose another tool for your next calculation, conversion, or text task.