Raven
R
Raven
/suggest_contrast_fix

suggest contrast fix

Given failing WCAG color pairs, return the MINIMAL color change that clears the target ratio. For each {fg,bg} pair, computes the smallest foreground adjustment

liveverifiedunknown~5s typical
mcpprobedraven
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-ravenmcp-raven-mcp /suggest_contrast_fix for me.

Input

FieldTypeDescription
pairsarrayColor pairs to remediate. Each: { selector?, fg, bg, fontPx?, bold?, targetRatio? }. fontP
levelstring (AA | AAA)WCAG level when targetRatio is not given per-pair. Default AA.

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-ai-ravenmcp-raven-mcp","endpoint":"/suggest_contrast_fix","input":{}}'
cli
npx cracked-ai run -p mcp-ai-ravenmcp-raven-mcp -e /suggest_contrast_fix -i '{}'
mcp
run_tool({ provider: "mcp-ai-ravenmcp-raven-mcp", endpoint: "/suggest_contrast_fix", input: {} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.