A red site with 14 colors in use, built with Tailwind CSS 4, 96% of its text at WCAG AA

The colors of stanford.edu

The main color of stanford.edu is #8c1515, a red, and its home page uses 14 colors, 3 of them more than a gray, in 2 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 66 distinct color values in 198.8 KB of CSS, half of its text at 9.4:1 or better against what it sits on.

Measured

#8c1515Dark Red
#2b7fffDodger Blue
#ffffffWhite
#111111Black
#767674Gray
From the colors of the web 2026 dataset (dataset.csv, rank 131), measured on October 8, 2026 with scripts off; how it was measured
Measurestanford.edu
Main color#8c1515, a red near darkred
Five heaviest colors#ffffff #eaeaea #111111 #8c1515 #7a0000
Colors in use14, 3 more than a gray; 66 distinct values in the CSS
Hue families2; red holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 96%, lab() 4.1%
Colors through var()85% of its color declarations; 86 variables hold a color
FrameworkTailwind CSS 4
Text contrastMedian 9.4:1; 4% of its text under 4.5:1
Page measuredhttps://www.stanford.edu/, 198.8 KB of CSS

The palette of stanford.edu

Recolor reads a page's colors as its Use site colours button does: each hue family's main color in rank order, then its background and text color, black or white for colored text, then grays. For stanford.edu that is #8c1515, #2b7fff, #ffffff, #111111 and #767674. Open stanford.edu in Recolor in its own colors, or try another palette on stanford.edu.

CSS variables

CSS
:root {
  --color-1: #8c1515;
  --color-2: #2b7fff;
  --color-3: #ffffff;
  --color-4: #111111;
  --color-5: #767674;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #8c1515;
  --color-2: #2b7fff;
  --color-3: #ffffff;
  --color-4: #111111;
  --color-5: #767674;
  --color-primary: #8c1515;
  --color-secondary: #2b7fff;
  --color-accent: #ffffff;
}

Text contrast on stanford.edu

Half of the text on stanford.edu reads at 9.4:1 or better against what it sits on. 4% of it falls under 4.5:1, the WCAG AA line for body text, and 4% under 3:1, the line for large text; judged as AA judges each piece of text, 4% fails. On the average studied site 6% of the text fails. 23% of its text sits on a dark ground. Black or white text on a color shows how to fix a pair.

How stanford.edu writes its colors

Its CSS writes 219 color values: 96% hex codes and 4.1% in lab(). 85% of its color declarations read a CSS variable through var(), and it defines 86 variables that hold a color. It also mixes colors with color-mix() 72 times.

Its CSS carries Tailwind CSS's variables, version 4 (one of 201 Tailwind CSS sites). It declares no dark mode in its CSS, as 59% of the studied sites do not.

Sites with a similar main color

Other red sites whose main color is about as light as stanford.edu's. All 164 are on the red page, and colors that go with red shows what they pair it with. stanford.edu is also listed under Tailwind CSS sites.

Common questions

Is the main color of stanford.edu blue?

No. Its main color is #8c1515, a red near the CSS color darkred; blue leads on 49% of the 1,000 sites the study read.

Does stanford.edu use Tailwind CSS?

Yes. Its CSS carries Tailwind CSS's variables, version 4, like 201 of the 1,000 sites the study read.

Is stanford.edu a dark site?

No. The color behind its home page is #ffffff, a light canvas.

Does the text on stanford.edu pass WCAG AA?

No. 4% of its text fails AA, though half of it reads at 9.4:1 or better.

Can I see stanford.edu in another palette?

Yes. Load stanford.edu in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.

Sources