Skip to content
Fourohtwo

WCAG Color Contrast Check

api.aiskills402.com/v1/skills/wcag-color-contrast-check/file

WCAG Color Contrast Check: AA and AAA Ratios — Computes the real contrast ratio of every text and background pair in pasted CSS, design tokens or a palette, says whether each pair passes WCAG AA and AAA, and gives every failing pair a replacement color that passes on its real background. It carries a table of 256 channel values so the ratio is added and divided instead of guessed, and it reads the

BaseAnswering
GEThttps://api.aiskills402.com/v1/skills/wcag-color-contrast-check/file

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.aiskills402.com/v1/skills/wcag-color-contrast-check/file");
console.log(await res.json());