Inputs
Pick colors from image
Upload a screenshot or asset to extract colors
Hex format like #546177 or 546177 (3- or 6-digit).
Hex format like #546177 or 546177 (3- or 6-digit).
CSS angle for linear-gradient(). 180deg = top to bottom.
Smaller = more accurate but slightly slower. 1% is usually fine.
Any percent value (can be negative or greater than 100).
Any percent value (can be negative or greater than 100).
Computed CSS:
linear-gradient(180deg, #ffffff 0%, #bac7e7 100%)Results
Worst-case ratio across gradient: 3.70:1 (at 100%)
Worst-case
3.70:1
Overall (worst-case across rendered element)
Uses the minimum contrast sampled from 0% to 100% of the element.
Ratio
3.70:1
| Criterion | Result | Threshold |
|---|---|---|
| Normal text — AA (at least 4.5:1) | Fail | 4.5:1 |
| Normal text — AAA (at least 7:1) | Fail | 7.0:1 |
| Large text — AA (at least 3:1) | Pass | 3.0:1 |
| Large text — AAA (at least 4.5:1) | Fail | 4.5:1 |
| UI components / graphics (at least 3:1) | Pass | 3.0:1 |
At text position
Computed at the preview’s text start location (padding-top 20px). Mapped to ~12.82% along the gradient. Background there: #f6f8fc.
Ratio
5.88:1
| Criterion | Result | Threshold |
|---|---|---|
| Normal text — AA (at least 4.5:1) | Pass | 4.5:1 |
| Normal text — AAA (at least 7:1) | Fail | 7.0:1 |
| Large text — AA (at least 3:1) | Pass | 3.0:1 |
| Large text — AAA (at least 4.5:1) | Pass | 4.5:1 |
| UI components / graphics (at least 3:1) | Pass | 3.0:1 |
Preview
Configure preview dimensions and text to match your actual layout.
This changes the preview’s padding-top and also drives the 'At text position' calculation.
Text position mapped to 12.82% along the gradient.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. (Large/bold)