A Simple Guide to Color Contrast in Web Design

Flux AcademyAbout 4 min readMay 27, 2025Watch original
THE SUMMARYAI-generated

Key Concepts

Color contrast, accessibility, WCAG (Web Content Accessibility Guidelines), contrast ratios, foreground, background, legibility, Figma, hex codes, tints, shades, hierarchy.

Color Contrast and Accessibility

  • Main Point: Color contrast is crucial for web design to ensure legibility and meet accessibility standards. Insufficient contrast makes websites difficult to read and navigate.
  • Contrast Ratios: The difference in value between foreground and background elements.
  • WCAG Standards: Accessibility standards that define acceptable contrast ratios.
    • AA (Essential): Minimum ratio of 3:1 for large text and 4.5:1 for normal text.
    • AAA (Enhanced): Higher standards for optimal accessibility.
  • Intentional Low Contrast: Lower contrast ratios can be used intentionally to create a calming effect.

Using Figma's Native Contrast Checker

  • Native Feature: Figma now has a built-in contrast checker.
  • Large Text Example:
    • Select the text element.
    • Go to the "Fill" and click on the color swatch.
    • Figma displays the contrast ratio.
    • Click on the AA or AAA to automatically adjust the color to meet the selected standard.
  • Small Text Example:
    • Follow the same process as with large text.
    • Adjust the color swatch to meet the desired contrast ratio.
  • Manual Adjustment: You can manually adjust the color by dragging the swatch along the line to find a suitable saturation level.
  • Graphics: You can apply the same principles to graphics by ensuring they have sufficient contrast with the background.

Alternative Contrast Checkers

  • Online Tools: If Figma's native tool is unavailable, use online color contrast checkers.
  • Hex Codes: These tools allow you to input hex codes (representing the amount of red, green, and blue in a color) to determine contrast ratios.
  • Hex Code Conversion: In Figma, double-click on the color swatch and change the color representation to "Hex" to view the hex code.

Real-World Examples and Case Studies

  • App Example: The presenter downloaded an app and found low contrast ratios in the navigation items.
  • Analysis: The presenter used Figma to analyze the contrast ratio of the app's navigation items.
  • Solution: The presenter demonstrated how to adjust the color of the text to meet accessibility standards.
  • Football Club Website: The presenter imported a football club's website into Figma using the HTML to Figma plugin.
  • Black and White Test: The presenter emphasized the importance of ensuring the layout works in black and white before adding color.
  • Branding Application: The presenter showed how applying brand colors without considering contrast can lead to accessibility issues.
  • Problem: Using the brand's red and blue colors directly resulted in low contrast between text and background.
  • Solution: The presenter suggested using darker blues and white text to improve contrast and legibility.
  • Website Analysis: The presenter analyzed the actual website and highlighted the use of tints and shades of the brand colors to achieve good contrast.
  • Hierarchy: The presenter explained how color contrast can be used to create hierarchy in the navigation.

Key Arguments and Perspectives

  • Legibility First: Prioritize legibility by making text easy to read and icons clear.
  • Accessibility for All: Accessibility ensures everyone can use your website easily.
  • Flexibility with Imagery: There is more flexibility with imagery and graphics depending on the situation.
  • Tints and Shades: Build out tints and shades of brand colors to create lighter and darker versions for better contrast.
  • Background Color: Avoid using mid-brightness colors for backgrounds, as they don't provide enough contrast for text.

Notable Quotes

  • "If your layout doesn't work in black and white, it's not going to work in color."
  • "Color contrast can be a great way to bring in hierarchy."

Technical Terms and Concepts

  • Color Contrast: The difference in perceived luminance or brightness between two colors.
  • Contrast Ratio: A quantitative measure of color contrast, expressed as a ratio (e.g., 4.5:1).
  • WCAG (Web Content Accessibility Guidelines): A set of international standards for making web content more accessible to people with disabilities.
  • Hex Code: A hexadecimal representation of a color, used in web design (e.g., #FFFFFF for white).
  • Tints: Lighter versions of a color, created by adding white.
  • Shades: Darker versions of a color, created by adding black.
  • Hierarchy: The arrangement of elements in a design to indicate their relative importance.

Logical Connections

The video begins by introducing the importance of color contrast for accessibility. It then demonstrates how to use Figma's native contrast checker to ensure compliance with WCAG standards. The presenter provides real-world examples of websites and apps with poor contrast and shows how to fix them. Finally, the video emphasizes the importance of prioritizing legibility and using tints and shades of brand colors to achieve good contrast.

Synthesis/Conclusion

The key takeaway is that color contrast is a critical aspect of web design that directly impacts accessibility and usability. By using tools like Figma's native contrast checker and understanding WCAG standards, designers can ensure their websites are legible and accessible to all users. The video emphasizes the importance of prioritizing legibility, using tints and shades of brand colors, and testing designs in black and white to ensure a solid foundation.

AI summaries can miss context or contain errors. Check important details against the original video.

MAKE IT YOURS

Read. Remember. Reuse.

Free tools

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.