colorcontrast.app
Check the contrast between colors using WCAG or APCA and get suggestions for better colors in hex, RGB, HSL or HWB.
First seen 2026-10-19 · Last seen 2026-10-19 · Source: webmcp.com
Answer 0 · Act 1 · Transact 0 · Score: Not yet scored
Tool inspector
check_color_contrast
Check the contrast between a foreground and background color using WCAG 2 (contrast ratio) or APCA (Lc value), and get suggested accessible replacements. Also updates the colors and algorithm shown on the page. Returns: algorithm used; rating (WCAG ratio, or absolute APCA Lc); checks, an array with one entry per use (normalText, largeText, icons) giving the target rating and whether the rating passes it; and suggestions, a list of complete foreground/background pairs with the target it was generated for and the rating it achieves (the background is unchanged unless the foreground alone could not reach the target). An empty suggestions list means either the colors already pass for all text, or no accessible alternative could be found.
Input schema
| Property | Type | Required | Description |
|---|---|---|---|
foreground |
string | yes | Foreground (text) color in any CSS format, e.g. #107db5 or rgb(16 125 181) |
background |
string | yes | Background color in any CSS format. May include alpha. |
algorithm |
string | no | Contrast algorithm. Defaults to WCAG2. |
level |
string | no | WCAG2 conformance level. Defaults to aa. |
Raw JSON schema
{
"type": "object",
"properties": {
"foreground": {
"type": "string",
"description": "Foreground (text) color in any CSS format, e.g. #107db5 or rgb(16 125 181)"
},
"background": {
"type": "string",
"description": "Background color in any CSS format. May include alpha."
},
"algorithm": {
"type": "string",
"enum": [
"WCAG2",
"APCA"
],
"description": "Contrast algorithm. Defaults to WCAG2."
},
"level": {
"type": "string",
"enum": [
"aa",
"aaa"
],
"description": "WCAG2 conformance level. Defaults to aa."
}
},
"required": [
"foreground",
"background"
]
}
Similar websites
neohack.dev
An inviting pixel-art doorway into NetHack. Explore at your own pace, one thoughtful turn at a time.
persona-chat.dev
Persona is an open-source, themeable AI chat widget you can add to any website in minutes. SSE streaming, agent loops, tool use, and style isolation: zero frame…
demos.telerik.com
Explore and test a wide range of Telerik UI for Blazor examples, demos, and sample applications.
bandarra.me
WebMCP-enabled text editor with imperative tools for document I/O, workspace CRUD, on-device translation, and sub-agent (planner / researcher / writer / reviewe…