Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    Figma Contrast Check — WCAG AA (Lite)

    1

    Checks every text node in a Figma frame against WCAG AA contrast — including text on photo and gradient backgrounds — before a single line of code gets written.

    Free

    0 installsSecurity scanned
    Figma Contrast Check — WCAG AA (Lite)

    Figma Contrast Check — WCAG AA (Lite)

    Example session with this skill installed

    Check the WCAG AA contrast on this Figma frame before I start building it: https://www.figma.com/design/saVgYY1herfOrXxnP7UNtA/figma-optimize_from_Claude?node-id=35-108

    • Read your context and instructions
    • Compiled the figma contrast check
    • Generated the UI component

    Contrast check report (WCAG AA)

    #LayerSample textSize / WeightFGBG (resolved)RatioRequiredVerdict
    1hero > heading"海とプール、ふたつの水辺を独り占めする"50px Regular#FFFFFF⚠️ Manual check — background is a photo with a 35% dark overlay, not fully opaque
    2hero > cta-row tagline"限定12室のプライベートヴィラ"12px SemiBold#FFFFFF⚠️ Manual check — same photo background
    3header > logo"CORAL TERRACE"28px Regular#123F3B#FFFFFF11.67:13:1 (large)✅ Pass
    4header > cta button"宿泊予約について問い合わせる"12px Bold#FFFFFF#8A3F2B7.43:14.5:1✅ Pass
    5villa-experience > section label (eng)"VILLA SPACES"14px Medium#B56A4A#FFFFFF4.10:14.5:1❌ Fail
    6villa-experience > section label (jp)"水辺と対話するプライベート空間"21px SemiBold#123F3B#FFFFFF11.67:14.5:1✅ Pass
    7location-graphic > badge"海に囲まれた、静寂のトポグラフィ"12px Regular#FFFFFF#123F3B11.67:14.5:1✅ Pass
    8location-text > note"※詳細な道程とアクセスは、ご予約が確定したゲストへ..."14px SemiBold#B56A4A#FFFFFF4.10:14.5:1❌ Fail
    9final-cta > eyebrow"RESERVATION"14px SemiBold#B56A4A#123F3B2.85:14.5:1❌ Fail
    10final-cta > heading"12室だけの、静かな休暇へ"38px Light#F5F1E8#123F3B10.35:13:1 (large)✅ Pass
    11final-cta > guidance"※スムーズなご案内のため、お問い合わせ前に..."12px Medium, 70% opacity#B8C5C4#123F3B6.59:14.5:1✅ Pass
    12footer > brand subtitle"12 PRIVATE POOL VILLAS IN OKINAWA"12px SemiBold#B56A4A#FFFFFF4.10:14.5:1❌ Fail
    13footer > nav link"プライバシーポリシー"14px Medium#123F3B#FFFFFF11.67:14.5:1✅ Pass

    Summary: 7 passed / 4 failed / 2 need manual check (out of 13 total)

    The same terracotta (#B56A4A) fails in four separate places — against white in three spots and against the dark green brand background once. One color-token fix would resolve all four failures at once.

    The full figma-contrast-check skill can auto-fix the four failing rows (with confirmation) once installed.

    figma-contrast-check-wcag-aa-lite.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Color accessibility usually gets caught late — after a page is built, when a contrast fix becomes a design-vs-code back-and-forth. This skill runs the same WCAG math against the Figma file itself, so contrast problems get caught at the design stage, before implementation starts.

    What it does

    • Walks every text node inside a Figma FRAME, SECTION, COMPONENT, or COMPONENT_SET — including text inside component instances, which a surface-level check would miss
    • Resolves each text segment's real foreground color individually, instead of guessing one color for a mixed-color text run
    • Resolves the true effective background by compositing through covering siblings, parent fills, and opacity stacking — not just the nearest parent's fill
    • Flags text sitting on a photo or gradient background as a manual check instead of guessing a ratio from one sample pixel
    • Classifies large vs normal text per the WCAG point-size rule and checks against the correct threshold (3:1 or 4.5:1)

    How it works

    1. Takes a Figma frame, section, component, or component set URL
    2. Scans every text node depth-first, including inside instances, skipping anything hidden or fully transparent
    3. For each text segment, resolves the foreground and effective background color, computes the contrast ratio, and classifies it against WCAG AA
    4. Reports a table: layer, sample text, size and weight, resolved colors, ratio, required minimum, and pass, fail, or manual-check verdict

    Why this beats prompting it yourself

    Standard LLM prompts cannot "see" the raw hex values or the stacking order of Figma layers without direct API access. This skill resolves effective colors through nested instances and opacity levels, giving technical accuracy that visual inspection lacks.

    What it is not

    This is a read-only report — it never edits the Figma file. WCAG AA only, text contrast only. AAA conformance, an advisory pass on non-text UI elements like borders and icons, and confirmation-gated auto-fixing of failing colors are covered by the full figma-contrast-check skill instead.

    Requirements

    Runs inside an agent connected to the official Figma MCP server — the same connection used for implementing Figma designs as code. No local file access, no arbitrary network calls, and it never writes to your Figma file.

    More from KMRVID

    This lite edition is free and open source: https://github.com/gaspanik/figma-contrast-check-lite-skill . The complete Claude Code skill bundle for web design workflows, including the full figma-contrast-check with AAA conformance and auto-fix, is available on Gumroad: https://gaspanik.gumroad.com/l/kmrvid-claudeskills

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean today

    • Free to download with an account

    Listedtoday

    What's inside

    Frequently Asked Questions