{"ok":true,"result":{"slug":"palette-contrast-fixer","name":"Accessible Palette Checker","summary":"Adjust the lightness of palette colours as little as possible (in OKLCH, hue kept) until chosen foreground/background pairs meet a WCAG contrast target.","description":"Check every text and background pair in your palette against WCAG AA and AAA, then fix failing pairs by nudging OKLCH lightness as little as possible.","method":"POST","endpoint":"/api/v1/tools/palette-contrast-fixer","plan":"free","mcpName":"palette_contrast_fixer","input":{"type":"object","additionalProperties":false,"properties":{"colors":{"type":"string","description":"2 to 10 colours, one per line or comma-separated (hex, rgb(), hsl() or names). They are numbered from 1 in this order.","maxLength":2000},"pairs":{"type":"string","description":"Pairs to fix as 1-based colour numbers, comma-separated, e.g. \"1-2, 1-3\" (text colour 1 on background 2 and 3).","maxLength":500},"adjustable":{"type":"string","description":"Colour numbers allowed to change, comma-separated, e.g. \"1\". Default: every colour.","maxLength":100},"target":{"type":"string","description":"aa: AA, normal text (4.5:1); aa-large: AA, large text and UI (3:1); aaa: AAA, normal text (7:1).","default":"aa","enum":["aa","aa-large","aaa"],"maxLength":200000}},"required":["colors","pairs"]},"example":{"colors":"#777777, #ffffff, #f1f5f9","pairs":"1-2, 1-3","adjustable":"1","target":"aa"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/palette-contrast-fixer","page":"https://pithlab.com/tools/palette-contrast-fixer"}}