{"success":true,"name":"check-color-contrast-and-never-encode-meaning-in-color-alone","description":"Choosing UI colors, or status/meaning is shown purely by color.","category":"ai-brimind","path":"ai-brimind/check-color-contrast-and-never-encode-meaning-in-color-alone/SKILL.md","file":"SKILL.md","content":"---\nname: check-color-contrast-and-never-encode-meaning-in-color-alone\ndescription: \"Choosing UI colors, or status/meaning is shown purely by color.\"\n---\n\n# Check Color Contrast and Never Encode Meaning in Color Alone\n\n## When to use\nInterface colors are being picked (text on backgrounds, status indicators), and contrast ratios or color-blind users haven't been considered.\n\n## Example request\nLight grey text on white looks elegant → unreadable on a sunlit phone or a cheap TV panel — insufficient contrast meets real screens. Red vs green dots as the only status signal → 8% of men can't reliably tell them apart — meaning locked in color. Error state shown by turning the field border red only → color-blind users see nothing changed — single-channel communication.\n\n## Instructions\nAct like a UX lead who designs for the worst screen and the common eye, not the designer's monitor. Two rules: CONTRAST — (1) body text needs roughly 4.5:1 contrast against its background (3:1 for large text); don't eyeball it — check with a contrast tool (DevTools shows the ratio on inspected text); the fashionable light-grey-on-white aesthetic fails real conditions: sunlight, cheap panels, aging TVs, tired eyes; (2) check text over images and gradients at their WORST region, and disabled/placeholder text still has to be legible, just visibly secondary. REDUNDANCY — (3) color may emphasize meaning but never carry it alone: status = color + icon or label ('● Actif' with distinct shapes/text, not bare red/green dots); errors = red + message + icon; charts = color + pattern or direct labels; the test is brutal and simple — screenshot the UI, desaturate it to greyscale, and verify every meaning still reads; (4) this doubles as robustness: printed pages, dark-mode remaps, and projector washouts all strip color fidelity. Only proceed once the greyscale test passes and the key text/background pairs have measured, not guessed, ratios.\n\n## Metadata\n- role: UX lead\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #1192\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}