← Agent Data Hub · Search endpoints · /llms.txt
Converts HEX colors to RGB/HSL and calculates exact WCAG 2.1 relative luminance and contrast ratio for accessibility compliance.
GET https://api.agentdatahub.de/api/v1/call/ai-tool-color-space-wcag-contrast?fg=%2338bdf8&bg=%23090d16&compact=1
Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"ai-tool-color-space-wcag-contrast"}
fg | Foreground HEX color e.g. #38bdf8 |
bg | Background HEX color e.g. #090d16 |
{
"apiId": "ai-tool-color-space-wcag-contrast",
"data_freshness": "live",
"data": {
"tool": "ai-tool-color-space-wcag-contrast",
"foreground_rgb": [
56,
189,
248
],
"background_rgb": [
9,
13,
22
],
"wcag_contrast_ratio": 9.07,
"passes_wcag_aa_normal_text": true,
"passes_wcag_aaa_normal_text": true
},
"source": "100% Platform-Native Deterministic AI Core Utility (<1ms)",
"license": "100% Platform-Owned Deterministic Algorithm (Commercial Use Allowed)"
}
| Source | 100% Platform-Native Deterministic AI Core Utility (<1ms) |
| License | 100% Platform-Owned Deterministic Algorithm (Commercial Use Allowed) |
| Source URL | https://api-hub.internal/ai-core-tools/ai-tool-color-space-wcag-contrast |
| Terms | https://opensource.org/licenses/MIT |
| Category | Developer, Tech & Web › AI Core Daily Tools |