Contrast Checker

🌐Community
by accesslint Β· vlatest Β· Repository

This tool analyzes text for inconsistent phrasing or tone shifts, ensuring clear and unified messaging for better communication.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add contrast-checker npx -- -y @trustedskills/contrast-checker
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "contrast-checker": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/contrast-checker"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The contrast-checker skill analyzes text for readability and accessibility, specifically focusing on color contrast ratios. It assesses whether text colors provide sufficient contrast against their background colors to meet WCAG (Web Content Accessibility Guidelines) standards. This ensures that content is easily readable by users with visual impairments.

When to use it

  • Website Audits: Evaluate the accessibility of a website's design and identify areas where color combinations need adjustment.
  • Document Review: Check documents, presentations, or reports for sufficient contrast between text and background colors.
  • Marketing Materials: Ensure marketing materials (e.g., brochures, social media graphics) are accessible to all audiences.
  • UI/UX Design: Validate the readability of user interface elements during design phases.

Key capabilities

  • Color Contrast Ratio Calculation: Determines the contrast ratio between foreground and background colors.
  • WCAG Compliance Check: Verifies if color combinations meet WCAG AA or AAA standards.
  • Text Analysis: Identifies text sections with insufficient contrast.

Example prompts

  • "Check the color contrast of this website header: [paste HTML snippet]"
  • "What is the contrast ratio between white text and a dark blue background (#000080)?"
  • β€œIs this document accessible according to WCAG AA guidelines? [paste document content]”

Tips & gotchas

The skill requires input in the form of HTML snippets or color codes (e.g., hex codes). Ensure you provide accurate color information for reliable results.

Tags

πŸ›‘οΈ

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β€” what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
accesslint
Installs
8

🌐 Community

Passed automated security scans.