Skip to content
Skillpedia
Interfaces (UI/UX)48k · #2787

high-contrast

Helps your agent create high-contrast designs, focusing on legibility and visual impact. It's essential for accessibility and clarity.

What it does

This guide explains how to create high-contrast designs, perfect for maximum clarity and accessibility. It uses strong colors and well-defined borders to ensure everything is easy to read and use.

When to use it

  • ✓When you need a website or app to be super easy to read.
  • ✓To ensure people with visual impairments can use your product.
  • ✓When you want a striking and direct visual style.

Example of what to ask your AI

“Create a high-contrast website design for a reading app.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/high-contrast/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/high-contrast/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The system uses color combinations with significant differences (like black and white, or vibrant colors) and large, clear fonts. It also adds visible borders to buttons and boxes to make them stand out.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill high-contrast

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/design-it/high-contrast/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

High Contrast Design

"Maximum legibility. Stark, powerful, and universally accessible."

When to Use

Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.

Core Principles

  1. WCAG AAA Compliance: Every color pairing must exceed a 7:1 contrast ratio.
  2. Clear Boundaries: Interactive elements have highly visible borders and focus states.
  3. No Ambiguity: Avoid subtle greys, low-opacity text, or purely decorative elements that distract from the core content.

Visual DNA

  • Colors: Industrial Chic (Black and White) or Modern Editorial. Often uses a single, highly luminous accent color (like pure Yellow #FFFF00 or Cyan #00FFFF) against black.
  • Typography: Highly legible, robust sans-serifs (Atkinson Hyperlegible, Inter, Roboto). Large base font sizes (18px+).
  • Styling: Solid 2px borders around cards and buttons. Avoid drop shadows as they reduce edge clarity.

Web Implementation

  • Focus heavily on focus states (:focus-visible) and clear active states.
  • CSS Example:
:root {
  --hc-bg: #ffffff;
  --hc-text: #000000;
  --hc-accent: #0000FF; /* Pure blue */
  --hc-focus: #FF00FF; /* High visibility focus ring */
}

body {
  background-color: var(--hc-bg);
  color: var(--hc-text);
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 18px; /* Larger default */
}

.hc-card {
  background-color: #ffffff;
  border: 3px solid #000000; /* Unmissable boundary */
  padding: 32px;
  border-radius: 8px;
}

.hc-btn {
  background-color: var(--hc-accent);
  color: #ffffff;
  border: 3px solid transparent; /* Reserve space for focus */
  border-radius: 4px;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Crucial for high contrast / accessibility */
.hc-btn:focus-visible, a:focus-visible {
  outline: 4px solid var(--hc-focus);
  outline-offset: 4px;
}

a {
  color: var(--hc-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

App Implementation

SwiftUI

struct HighContrastView: View {
    var body: some View {
        VStack(spacing: 32) {
            // High Contrast Card
            VStack(alignment: .leading, spacing: 16) {
                Text("Maximum Legibility")
                    .font(.custom("Atkinson Hyperlegible", size: 24))
                    .fontWeight(.bold)
                    .foregroundColor(.black)
                
                Text("Content is king. Borders are stark. Contrast ratios exceed 7:1.")
                    .font(.custom("Atkinson Hyperlegible", size: 18))
                    .foregroundColor(.black)
            }
            .padding(32)
            .background(Color.white)
            .overlay(
                RoundedRectangle(cornerRadius: 8)
                    .stroke(Color.black, lineWidth: 3)
            )
            
            // High Contrast Action Button
            Button(action: {}) {
                Text("CONFIRM ACTION")
                    .font(.custom("Atkinson Hyperlegible", size: 18))
                    .fontWeight(.black)
                    .foregroundColor(.white)
                    .padding(.vertical, 16)
                    .padding(.horizontal, 32)
                    .background(Color.blue) // Must be a high-contrast blue, e.g., #0000FF
                    .cornerRadius(4)
            }
        }
        .padding()
        .frame(maxWidth: .infinity, maxHeight: .infinity)
        .background(Color.white)
    }
}
  • Rely on thick .stroke(Color.black, lineWidth: 3) overlays.
  • Ensure text is pure .black on pure .white. Do not use .secondary colors if they drop below a 7:1 contrast ratio.
  • Use fonts specifically designed for legibility, like Atkinson Hyperlegible.

Flutter

class HighContrastScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      body: Center(
        child: Padding(
          padding: const EdgeInsets.all(24.0),
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              // High Contrast Card
              Container(
                width: double.infinity,
                padding: const EdgeInsets.all(32),
                decoration: BoxDecoration(
                  color: Colors.white,

…
FAQ

What is 'WCAG AAA Compliance'?

It's an international standard that ensures websites and apps are accessible to the maximum number of people, including those with visual impairments. High contrast is an important part of this.

Why avoid shadows and grays?

Shadows and grays can reduce the difference between elements, making the design less clear and harder to read, especially for those with low vision.

What colors are recommended?

Black and white are the base. A vibrant color (like pure yellow or cyan) can be used to highlight important buttons or links, always ensuring the color combination has very high contrast.

Details

Original description by the author

Web and App implementation guide for High Contrast Design. Trigger when user wants accessibility-focused design, extreme legibility, or stark visual impact.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2787
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills