Color converter
Copy CSS colors in hex, RGB, OKLCH, Display P3, and five other formats.
Pick a text color and a background. Preview the pair and see which WCAG 2 contrast thresholds it meets for text and icons.
Example
Large text, 24 pixels
Normal text, the kind you read in paragraphs. The cat sat on the keyboard and nothing was saved.
4.47:1 contrast ratio
{
"foreground": "#777777",
"background": "#ffffff",
"ratio": 4.47,
"aa": {
"normalText": false,
"largeText": true,
"nonText": true
},
"aaa": {
"normalText": false,
"largeText": false
}
}Copy this command to run the request in your terminal. It updates as you edit the input.
For higher limits, get a free API key and add -H "Authorization: Bearer $KAMINEKO_API_KEY".
/v1/color/contrastcurl 'https://api.kamineko.dev/v1/color/contrast?foreground=%23777777&background=%23ffffff'Set KAMINEKO_API_KEY to your key and run this command to connect Claude Code. Try the color_contrast tool with this prompt.
Is #777 text on white readable enough for WCAG AA?
https://api.kamineko.dev/mcpclaude mcp add --transport http kamineko \
https://api.kamineko.dev/mcp \
--header "Authorization: Bearer $KAMINEKO_API_KEY"Copy CSS colors in hex, RGB, OKLCH, Display P3, and five other formats.
Complementary, analogous, triadic, and other harmonies from one color.
Mix a base color toward white and black in even steps.
A 50–950 scale from one brand color, for a design system.