Swatch is an MCP server published by com.clawhard, hosted at swatch.clawhard.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 4 tools, including swatch_check_contrast, swatch_fix_contrast, swatch_make_scale, swatch_check_pairs.
Check WCAG color contrast, fix failing colors, build 50-950 palettes. No account.
78 connections through 4 shared values. Tap any node.
Use when the user asks whether a color combination is readable or accessible, passes WCAG AA or AAA, or has enough contrast (text on a background, button, badge, link color), or what a color is in another format. Returns the exact contrast ratio, pass or fail for normal text, large text and UI components at AA and AAA, the APCA lightness contrast and a plain note. Colors can be hex, rgb(), hsl() or CSS names. Example: {"foreground": "#777777", "background": "#ffffff"}. Also returns each color in hex, rgb, hsl and oklch with its nearest CSS name.
| Parameter | Type | Description |
|---|---|---|
| background * | string | Background color, e.g. "#ffffff". |
| foreground * | string | Text (or icon) color, e.g. "#767676" or "rgb(20 20 20)" or "tomato". |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
{
"name": "swatch_check_contrast",
"title": "Check the WCAG contrast of a text and background color",
"description": "Use when the user asks whether a color combination is readable or accessible, passes WCAG AA or AAA, or has enough contrast (text on a background, button, badge, link color), or what a color is in another format. Returns the exact contrast ratio, pass or fail for normal text, large text and UI components at AA and AAA, the APCA lightness contrast and a plain note. Colors can be hex, rgb(), hsl() or CSS names. Example: {\"foreground\": \"#777777\", \"background\": \"#ffffff\"}. Also returns each color in hex, rgb, hsl and oklch with its nearest CSS name.",
"inputSchema": {
"type": "object",
"required": [
"foreground",
"background"
],
"properties": {
"background": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Background color, e.g. \"#ffffff\"."
},
"foreground": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Text (or icon) color, e.g. \"#767676\" or \"rgb(20 20 20)\" or \"tomato\"."
}
}
},
"annotations": {
"title": "Check the WCAG contrast of a text and background color",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when a color pair fails contrast and the user wants the smallest change that makes it pass, such as "make this gray text accessible without changing the look". Returns the closest text color on that background that reaches the target (AA, AAA, AA-large or ui), and separately the closest background, keeping the hue. Example: {"foreground": "#777777", "background": "#ffffff", "target": "AA"}. Returns already_passes if nothing needs to change.
| Parameter | Type | Description |
|---|---|---|
| target | string | Contrast target. Default AA. |
| background * | string | Current background color. |
| foreground * | string | Current text color. |
{
"name": "swatch_fix_contrast",
"title": "Find the nearest accessible color that passes contrast",
"description": "Use when a color pair fails contrast and the user wants the smallest change that makes it pass, such as \"make this gray text accessible without changing the look\". Returns the closest text color on that background that reaches the target (AA, AAA, AA-large or ui), and separately the closest background, keeping the hue. Example: {\"foreground\": \"#777777\", \"background\": \"#ffffff\", \"target\": \"AA\"}. Returns already_passes if nothing needs to change.",
"inputSchema": {
"type": "object",
"required": [
"foreground",
"background"
],
"properties": {
"target": {
"enum": [
"AA",
"AAA",
"AA-large",
"ui"
],
"type": "string",
"description": "Contrast target. Default AA."
},
"background": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Current background color."
},
"foreground": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Current text color."
}
}
},
"annotations": {
"title": "Find the nearest accessible color that passes contrast",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when the user asks for a palette, shades, tints, a design-token scale or a Tailwind-style 50 to 950 ramp from a brand color. Returns 11 steps that keep the hue, with the hex, contrast on white and on black, and the best text color for each step. Example: {"color": "#ff5a1f", "name": "brand"}.
| Parameter | Type | Description |
|---|---|---|
| name | string | Token name used in the CSS and Tailwind output. Default "brand". |
| color * | string | Base color, e.g. "#ff5a1f". |
{
"name": "swatch_make_scale",
"title": "Build a 50-950 color palette from one color",
"description": "Use when the user asks for a palette, shades, tints, a design-token scale or a Tailwind-style 50 to 950 ramp from a brand color. Returns 11 steps that keep the hue, with the hex, contrast on white and on black, and the best text color for each step. Example: {\"color\": \"#ff5a1f\", \"name\": \"brand\"}.",
"inputSchema": {
"type": "object",
"required": [
"color"
],
"properties": {
"name": {
"type": "string",
"maxLength": 24,
"description": "Token name used in the CSS and Tailwind output. Default \"brand\"."
},
"color": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Base color, e.g. \"#ff5a1f\"."
}
}
},
"annotations": {
"title": "Build a 50-950 color palette from one color",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when the user has a whole design system, theme or stylesheet and wants every text and background pair checked for accessibility in one go. Takes up to 50 pairs and returns the ratio and AA and AAA results for each, with a count of failures. Example: {"pairs": [{"foreground": "#777", "background": "#fff", "label": "muted text"}, {"foreground": "#fff", "background": "#ff5a1f", "label": "button"}]}.
| Parameter | Type | Description |
|---|---|---|
| pairs * | array | Pairs to check. |
{
"name": "swatch_check_pairs",
"title": "Check contrast for many color pairs at once",
"description": "Use when the user has a whole design system, theme or stylesheet and wants every text and background pair checked for accessibility in one go. Takes up to 50 pairs and returns the ratio and AA and AAA results for each, with a count of failures. Example: {\"pairs\": [{\"foreground\": \"#777\", \"background\": \"#fff\", \"label\": \"muted text\"}, {\"foreground\": \"#fff\", \"background\": \"#ff5a1f\", \"label\": \"button\"}]}.",
"inputSchema": {
"type": "object",
"required": [
"pairs"
],
"properties": {
"pairs": {
"type": "array",
"items": {
"type": "object",
"required": [
"foreground",
"background"
],
"properties": {
"label": {
"type": "string",
"maxLength": 60,
"description": "Optional name, like \"muted text on card\"."
},
"background": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"foreground": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
}
},
"maxItems": 50,
"minItems": 1,
"description": "Pairs to check."
}
}
},
"annotations": {
"title": "Check contrast for many color pairs at once",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Swatch: Swatch checks text and background color contrast against WCAG, shows the closest colors that pass, and builds a full 50-950 palette from any color. Runs in your browser, no account. Use it when you pick, review or generate UI colors and need an exact contrast ratio, a passing replacement, a palette scale or a color conversion. Tools: swatch_check_contrast (Check the WCAG contrast of a text and background color); swatch_fix_contrast (Find the nearest accessible color that passes contrast); swatch_make_scale (Build a 50-950 color palette from one color); swatch_check_pairs (Check contrast for many color pairs at once). Results include a link (open_url) that the user can open to see the same result on the website.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.