A red site with 18 colors in use, built with Tailwind CSS, 99.4% of its text at WCAG AA

The colors of admin.ch

The main color of admin.ch is #d8232a, a red, and its home page uses 18 colors, 6 of them more than a gray, in 3 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 154 distinct color values in 385.6 KB of CSS, half of its text at 17.74:1 or better against what it sits on.

Measured

#d8232aCrimson
#3b82f6Dodger Blue
#8655f6Medium Slate Blue
#ffffffWhite
#111827Midnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 382), measured on October 8, 2026 with scripts off; how it was measured
Measureadmin.ch
Main color#d8232a, a red near crimson
Five heaviest colors#e5e7eb #ffffff #2f4356 #46596b #d8232a
Colors in use18, 6 more than a gray; 154 distinct values in the CSS
Hue families3; red holds 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 57%, rgb() 41%, hsl() 2%, named colors 0.2%
Colors through var()77% of its color declarations; 77 variables hold a color
FrameworkTailwind CSS
Text contrastMedian 17.74:1; 0.6% of its text under 4.5:1
Page measuredhttps://www.admin.ch/en, 385.6 KB of CSS

The palette of admin.ch

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 admin.ch that is #d8232a, #3b82f6, #8655f6, #ffffff and #111827. Open admin.ch in Recolor in its own colors, or try another palette on admin.ch.

CSS variables

CSS
:root {
  --color-1: #d8232a;
  --color-2: #3b82f6;
  --color-3: #8655f6;
  --color-4: #ffffff;
  --color-5: #111827;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #d8232a;
  --color-2: #3b82f6;
  --color-3: #8655f6;
  --color-4: #ffffff;
  --color-5: #111827;
  --color-primary: #d8232a;
  --color-secondary: #3b82f6;
  --color-accent: #8655f6;
}

Text contrast on admin.ch

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

How admin.ch writes its colors

Its CSS writes 968 color values: 57% hex codes, 41% in rgb(), 2% in hsl() and 0.2% named colors. 77% of its color declarations read a CSS variable through var(), and it defines 77 variables that hold a color.

Its CSS carries Tailwind CSS's variables (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 admin.ch's. All 164 are on the red page, and colors that go with red shows what they pair it with. admin.ch is also listed under Tailwind CSS sites.

Common questions

Is the main color of admin.ch blue?

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

Does admin.ch use Tailwind CSS?

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

Is admin.ch a dark site?

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

Does the text on admin.ch pass WCAG AA?

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

Can I see admin.ch in another palette?

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

Sources