# High Contrast Mode

> A setting that swaps screen colors for a few strong ones. Things are easy to see.

**Field:** Design  
**Category:** Design Standards  
**Also known as:** Forced Colors Mode, Contrast Themes, Windows High Contrast

## Think of it like

It is like trading your crayons for a thick black pen. Every line is easy to see.

## Definition

High contrast mode is a setting on a computer or phone that swaps the colors on screen for a small set of strong ones. Text, links, buttons and edges each get one color that the person picked. It helps people with low vision and people whose eyes get tired. On the web, the browser forces these colors onto the page, and CSS can check if the mode is on. Shadows and soft background colors are taken away.

## Example

Omar turns on high contrast in Windows. A website's pale gray button becomes a plain box with a bright border, so he can find it.

## Example code

```css
@media (forced-colors: active) {
  .button {
    border: 2px solid ButtonText;
  }
}
```

In this mode the browser drops the shadow. So the button gets a real border, in the color the person chose.

## Why it matters

A button shown only with a shadow or a light tint can vanish in this mode. A real border keeps it on screen.

## Common mistake

Treating it like dark mode. The designer picks a dark theme, but the person picks the high contrast colors, and they replace the design.

## Three principles

- **The person picks.** The design gives way.
- **Shadows and tints go.** Borders stay.
- **Test it.** Turn it on and look.

## Related terms

- [Theming](https://learn.benibix.com/term/design/theming)
- [Dark Mode](https://learn.benibix.com/term/design/dark-mode)
- [Contrast Ratio](https://learn.benibix.com/term/design/contrast-ratio)
- [Contrast](https://learn.benibix.com/term/design/contrast)
- [Drop Shadow](https://learn.benibix.com/term/design/drop-shadow)
- [Web Content Accessibility Guidelines (WCAG)](https://learn.benibix.com/term/design/web-content-accessibility-guidelines)

## Told apart from

- [High Contrast Mode vs Dark Mode](https://learn.benibix.com/compare/high-contrast-mode-vs-dark-mode): People think high contrast mode is just a darker dark mode, and it is not. The designer makes a dark mode, and it keeps the brand colors and shadows. High contrast mode is set by the person. It throws out the design's colors and uses a few strong ones they picked. Shadows and tints are gone, so only real borders show where a button is.

![Three panels. A drop shadow: a card with a soft shadow below it, labelled offset down and blur. Liquid Glass: a see-through tab bar floating over a grid of photos, labelled controls layer above content layer. High contrast mode: a tinted button with a shadow turns into a plain button with a solid border.](https://learn.benibix.com/diagrams/des8-depth-and-contrast.svg)

---

Source: https://learn.benibix.com/term/design/high-contrast-mode
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-20
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
