agents.writerslogic.com
Checks up to 50 foreground/background hex pairs against a WCAG 2.2 contrast threshold (4.5 AA text, 3 large text and UI, 7 AAA, or your own) on the unrounded ratio, so 4.499 fails and exactly 4.5 passes, and for a failing pair returns the closest colour by OKLCH lightness (chroma and hue held, gamut-clipped, 8-bit) that meets it. Optionally simulates protanomaly, deuteranomaly and tritanomaly (Machado et al. 2009, any severity, 1.0 is dichromacy) and reports whether the pair stays distinguishable by OKLab distance against your threshold. Built for designers and agents generating palettes. It does not evaluate APCA, text size or weight, opacity, images, gradients or colour spaces other than sRGB, and the colour-blind result is a simulation, not a medical assessment.
Resource URL
https://agents.writerslogic.com/api/v1/contrast-fix
Payment options
$0.005 USDC
Max amount
- Pay to
- 0x34C2D4B19b2D61Da1eC98A3463B8E9994FB86522
- Timeout
- 300s
Tags
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://agents.writerslogic.com/api/v1/contrast-fix Type: http Sources: payai