ContrastKit is an MCP server published by dev.workers.mike-tusa.contrastkit, hosted at contrastkit.mike-tusa.workers.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 4 tools, including check_contrast, suggest_accessible_color, convert_color, check_palette.
WCAG color contrast checks, nearest accessible color, CSS color conversion and palette pair checks.
29 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Compute the WCAG 2.x contrast ratio between a text (foreground) color and a background color, with pass/fail for AA, AA large text, AAA, AAA large text and non-text UI (3:1). Handles translucent colors. Read-only. Same engine as GET /api/contrast.
| Parameter | Type | Description |
|---|---|---|
| background * | string | Background color as a CSS color: "#1a73e8", "#fff", "rgb(26 115 232)", "hsl(217 80% 51%)", "rgba(0,0,0,.6)" or a name like "navy". |
| foreground * | string | Text / foreground color as a CSS color: "#1a73e8", "#fff", "rgb(26 115 232)", "hsl(217 80% 51%)", "rgba(0,0,0,.6)" or a name like "navy". |
{
"name": "check_contrast",
"title": "Check WCAG color contrast",
"description": "Compute the WCAG 2.x contrast ratio between a text (foreground) color and a background color, with pass/fail for AA, AA large text, AAA, AAA large text and non-text UI (3:1). Handles translucent colors. Read-only. Same engine as GET /api/contrast.",
"inputSchema": {
"type": "object",
"required": [
"foreground",
"background"
],
"properties": {
"background": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Background color as a CSS color: \"#1a73e8\", \"#fff\", \"rgb(26 115 232)\", \"hsl(217 80% 51%)\", \"rgba(0,0,0,.6)\" or a name like \"navy\"."
},
"foreground": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Text / foreground color as a CSS color: \"#1a73e8\", \"#fff\", \"rgb(26 115 232)\", \"hsl(217 80% 51%)\", \"rgba(0,0,0,.6)\" or a name like \"navy\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"ratio",
"pass",
"notes",
"version"
],
"properties": {
"pass": {
"type": "object",
"required": [
"aa",
"aa_large",
"aaa",
"aaa_large",
"ui"
],
"properties": {
"aa": {
"type": "boolean"
},
"ui": {
"type": "boolean"
},
"aaa": {
"type": "boolean"
},
"aa_large": {
"type": "boolean"
},
"aaa_large": {
"type": "boolean"
}
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"ratio": {
"type": "number"
},
"version": {
"type": "string"
},
"background": {
"type": "object",
"required": [
"hex",
"rgb",
"hsl",
"alpha",
"luminance"
],
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "string"
},
"rgb": {
"type": "string"
},
"alpha": {
"type": "number"
},
"luminance": {
"type": "number"
}
}
},
"foreground": {
"type": "object",
"required": [
"hex",
"rgb",
"hsl",
"alpha",
"luminance"
],
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "string"
},
"rgb": {
"type": "string"
},
"alpha": {
"type": "number"
},
"luminance": {
"type": "number"
}
}
},
"ratioExact": {
"type": "number"
},
"effectiveBackground": {
"type": "string"
},
"effectiveForeground": {
"type": "string"
}
}
},
"annotations": {
"title": "Check WCAG color contrast",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
For a failing color pair, find the closest color (same hue and saturation, lightness changed as little as possible) that meets the chosen WCAG level. Adjust the foreground (default), the background, or both (best first). Read-only. Same engine as GET /api/suggest.
| Parameter | Type | Description |
|---|---|---|
| level | string | WCAG target: aa 4.5:1 (default), aa-large 3:1, aaa 7:1, aaa-large 4.5:1, ui 3:1 (non-text). |
| adjust | string | Which color may change. |
| background * | string | Background color as a CSS color: "#1a73e8", "#fff", "rgb(26 115 232)", "hsl(217 80% 51%)", "rgba(0,0,0,.6)" or a name like "navy". |
| foreground * | string | Text / foreground color as a CSS color: "#1a73e8", "#fff", "rgb(26 115 232)", "hsl(217 80% 51%)", "rgba(0,0,0,.6)" or a name like "navy". |
{
"name": "suggest_accessible_color",
"title": "Suggest the nearest accessible color",
"description": "For a failing color pair, find the closest color (same hue and saturation, lightness changed as little as possible) that meets the chosen WCAG level. Adjust the foreground (default), the background, or both (best first). Read-only. Same engine as GET /api/suggest.",
"inputSchema": {
"type": "object",
"required": [
"foreground",
"background"
],
"properties": {
"level": {
"enum": [
"aa",
"aa-large",
"aaa",
"aaa-large",
"ui"
],
"type": "string",
"default": "aa",
"description": "WCAG target: aa 4.5:1 (default), aa-large 3:1, aaa 7:1, aaa-large 4.5:1, ui 3:1 (non-text)."
},
"adjust": {
"enum": [
"foreground",
"background",
"both"
],
"type": "string",
"default": "foreground",
"description": "Which color may change."
},
"background": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Background color as a CSS color: \"#1a73e8\", \"#fff\", \"rgb(26 115 232)\", \"hsl(217 80% 51%)\", \"rgba(0,0,0,.6)\" or a name like \"navy\"."
},
"foreground": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Text / foreground color as a CSS color: \"#1a73e8\", \"#fff\", \"rgb(26 115 232)\", \"hsl(217 80% 51%)\", \"rgba(0,0,0,.6)\" or a name like \"navy\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"ratio",
"target",
"alreadyPasses",
"suggestions",
"version"
],
"properties": {
"pass": {
"type": "object",
"required": [
"aa",
"aa_large",
"aaa",
"aaa_large",
"ui"
],
"properties": {
"aa": {
"type": "boolean"
},
"ui": {
"type": "boolean"
},
"aaa": {
"type": "boolean"
},
"aa_large": {
"type": "boolean"
},
"aaa_large": {
"type": "boolean"
}
}
},
"level": {
"type": "string"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"ratio": {
"type": "number"
},
"adjust": {
"type": "string"
},
"target": {
"type": "number"
},
"version": {
"type": "string"
},
"background": {
"type": "object",
"required": [
"hex",
"rgb",
"hsl",
"alpha",
"luminance"
],
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "string"
},
"rgb": {
"type": "string"
},
"alpha": {
"type": "number"
},
"luminance": {
"type": "number"
}
}
},
"foreground": {
"type": "object",
"required": [
"hex",
"rgb",
"hsl",
"alpha",
"luminance"
],
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "string"
},
"rgb": {
"type": "string"
},
"alpha": {
"type": "number"
},
"luminance": {
"type": "number"
}
}
},
"ratioExact": {
"type": "number"
},
"suggestions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "object",
"required": [
"hex",
"rgb",
"hsl",
"alpha",
"luminance"
],
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "string"
},
"rgb": {
"type": "string"
},
"alpha": {
"type": "number"
},
"luminance": {
"type": "number"
}
}
},
"ratio": {
"type": "number"
},
"adjust": {
"type": "string"
},
"lightnessChange": {
"type": "number"
}
}
}
},
"alreadyPasses": {
"type": "boolean"
},
"effectiveBackground": {
"type": "string"
},
"effectiveForeground": {
"type": "string"
}
}
},
"annotations": {
"title": "Suggest an accessible color",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Convert a CSS color to hex, rgb() and hsl(), with its relative luminance, its contrast on white and on black, and the better text color (black or white) to put on it. Read-only. Same engine as GET /api/convert.
| Parameter | Type | Description |
|---|---|---|
| color * | string | Color as a CSS color: "#1a73e8", "#fff", "rgb(26 115 232)", "hsl(217 80% 51%)", "rgba(0,0,0,.6)" or a name like "navy". |
{
"name": "convert_color",
"title": "Convert a CSS color",
"description": "Convert a CSS color to hex, rgb() and hsl(), with its relative luminance, its contrast on white and on black, and the better text color (black or white) to put on it. Read-only. Same engine as GET /api/convert.",
"inputSchema": {
"type": "object",
"required": [
"color"
],
"properties": {
"color": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Color as a CSS color: \"#1a73e8\", \"#fff\", \"rgb(26 115 232)\", \"hsl(217 80% 51%)\", \"rgba(0,0,0,.6)\" or a name like \"navy\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"hex",
"luminance",
"bestTextColor",
"version"
],
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "string"
},
"rgb": {
"type": "string"
},
"alpha": {
"type": "number"
},
"input": {
"type": "string"
},
"version": {
"type": "string"
},
"luminance": {
"type": "number"
},
"bestTextColor": {
"type": "string"
},
"contrastOnBlack": {
"type": "number"
},
"contrastOnWhite": {
"type": "number"
}
}
},
"annotations": {
"title": "Convert a CSS color",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Contrast ratio for every pair of 2 to 12 colors (up to 66 pairs), highest first, each flagged against the chosen WCAG level. Use it to see which brand colors can be used together for text. Read-only. Same engine as GET /api/palette.
| Parameter | Type | Description |
|---|---|---|
| level | string | WCAG target: aa 4.5:1 (default), aa-large 3:1, aaa 7:1, aaa-large 4.5:1, ui 3:1 (non-text). |
| colors * | array | 2 to 12 CSS colors. |
{
"name": "check_palette",
"title": "Check every pair in a palette",
"description": "Contrast ratio for every pair of 2 to 12 colors (up to 66 pairs), highest first, each flagged against the chosen WCAG level. Use it to see which brand colors can be used together for text. Read-only. Same engine as GET /api/palette.",
"inputSchema": {
"type": "object",
"required": [
"colors"
],
"properties": {
"level": {
"enum": [
"aa",
"aa-large",
"aaa",
"aaa-large",
"ui"
],
"type": "string",
"default": "aa",
"description": "WCAG target: aa 4.5:1 (default), aa-large 3:1, aaa 7:1, aaa-large 4.5:1, ui 3:1 (non-text)."
},
"colors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Palette color as a CSS color: \"#1a73e8\", \"#fff\", \"rgb(26 115 232)\", \"hsl(217 80% 51%)\", \"rgba(0,0,0,.6)\" or a name like \"navy\"."
},
"maxItems": 12,
"minItems": 2,
"description": "2 to 12 CSS colors."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"pairs",
"count",
"passing",
"version"
],
"properties": {
"count": {
"type": "integer"
},
"level": {
"type": "string"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"pairs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"a": {
"type": "string"
},
"b": {
"type": "string"
},
"ratio": {
"type": "number"
},
"passes": {
"type": "boolean"
}
}
}
},
"colors": {
"type": "array",
"items": {
"type": "string"
}
},
"target": {
"type": "number"
},
"passing": {
"type": "integer"
},
"version": {
"type": "string"
}
}
},
"annotations": {
"title": "Check a palette",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}ContrastKit checks color contrast against WCAG 2.x (the ratio used by WCAG 2.0, 2.1 and 2.2 success criteria 1.4.3, 1.4.6 and 1.4.11), finds the nearest passing color, converts CSS colors and checks every pair in a palette. Colors: #rgb, #rrggbb, #rrggbbaa, rgb(), hsl() (comma or space syntax, optional alpha) or CSS color names. Levels: aa (4.5:1, normal text), aa-large (3:1, 18pt or 14pt bold), aaa (7:1), aaa-large (4.5:1), ui (3:1, non-text UI components and graphics). Ratios are reported floored to 2 decimals and pass/fail never rounds up (4.49:1 fails AA). Translucent foregrounds are blended over the background; translucent backgrounds over white. Use check_contrast for a pass/fail, suggest_accessible_color to fix a failing pair, convert_color for hex/rgb/hsl/luminance, check_palette for up to 12 colors. Pure computation, nothing stored, no network calls. No API key: about 60 checks per minute per IP.
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.