{"slug":"api-vextorium-com-color-contraste-pago-03eef5","title":"Convert a color between HEX, RGB, HSL, HSV and CMYK and, given a background, com","host":"api.vextorium.com","method":"POST","resource":"https://api.vextorium.com/color-contraste-pago","category":"other","description":"Convert a color between HEX, RGB, HSL, HSV and CMYK and, given a background, compute the WCAG 2.x contrast ratio with AA/AAA pass flags; without background, suggests black or white text.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":334,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"color":"#00ff66","fondo":"#0d0e11"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"color":{"description":"#RRGGBB, #RGB, rgb() or hsl()","type":"string"},"fondo":{"description":"Background color (optional)","type":"string"}},"required":["color"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"color":{"properties":{"cmyk":{"items":{"type":["null","number"]},"type":["array","null"]},"hex":{"type":["string","null"]},"hsl":{"items":{"type":["null","number"]},"type":["array","null"]},"hsv":{"items":{"type":["null","number"]},"type":["array","null"]},"luminancia":{"type":["number","null"]},"rgb":{"items":{"type":["null","number"]},"type":["array","null"]}},"type":["object","null"]},"contraste":{"properties":{"AAA_texto_grande":{"type":["boolean","null"]},"AAA_texto_normal":{"type":["boolean","null"]},"AA_texto_grande":{"type":["boolean","null"]},"AA_texto_normal":{"type":["boolean","null"]},"componentes_ui":{"type":["boolean","null"]},"ratio":{"type":["number","null"]}},"type":["object","null"]},"fondo":{"properties":{"cmyk":{"items":{"type":["null","number"]},"type":["array","null"]},"hex":{"type":["string","null"]},"hsl":{"items":{"type":["null","number"]},"type":["array","null"]},"hsv":{"items":{"type":["null","number"]},"type":["array","null"]},"luminancia":{"type":["number","null"]},"rgb":{"items":{"type":["null","number"]},"type":["array","null"]}},"type":["object","null"]}},"type":["object","null"]},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":334,"error":null}],"description_full":"Convert a color between HEX, RGB, HSL, HSV and CMYK and, given a background, compute the WCAG 2.x contrast ratio with AA/AAA pass flags; without background, suggests black or white text.","last_updated":"2026-10-02T15:12:11.241Z","schemes":["exact"]}