A red site with 11 colors in use, no framework found, all of its text at WCAG AA

The colors of nsw.gov.au

Recolor (recolor.page) read the home page of nsw.gov.au on October 8, 2026: its main color is #d7153a, a red, and it paints 11 colors in 4 hue families out of 110 distinct values in its CSS, half of its text at 14.37:1 or better against what it sits on.

Measured

#d7153aCrimson
#002664Midnight Blue
#551a8bIndigo
#ffffffWhite
#22272bMidnight Blue
From the colors of the web 2026 dataset (dataset.csv, rank 799), measured on October 8, 2026 with scripts off; how it was measured
Measurensw.gov.au
Main color#d7153a, a red near crimson
Five heaviest colors#ffffff #002664 #d7153a #000000 #22272b
Colors in use11, 5 more than a gray; 110 distinct values in the CSS
Hue families4; red, blue, violet and cyan hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSNo
Notationshex codes 97%, rgb() 1.5%, bare channels in a variable 1.2%, hsl() 0.1%
Colors through var()50% of its color declarations; 145 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 14.37:1; 0% of its text under 4.5:1
Page measuredhttps://www.nsw.gov.au/, 395.7 KB of CSS

The palette of nsw.gov.au

Taken the way Recolor's Use site colours takes a page's colors, nsw.gov.au gives the palette #d7153a, #002664, #551a8b, #ffffff and #22272b: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open nsw.gov.au in Recolor in its own colors or try another palette on nsw.gov.au.

CSS variables

CSS
:root {
  --color-1: #d7153a;
  --color-2: #002664;
  --color-3: #551a8b;
  --color-4: #ffffff;
  --color-5: #22272b;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #d7153a;
  --color-2: #002664;
  --color-3: #551a8b;
  --color-4: #ffffff;
  --color-5: #22272b;
  --color-primary: #d7153a;
  --color-secondary: #002664;
  --color-accent: #551a8b;
}

Text contrast on nsw.gov.au

All of the measured text on nsw.gov.au clears the AA lines of WCAG, 4.5:1 for body text and 3:1 for large text; the median is 14.37:1. On the average studied site 6% of the text fails. 4.1% of its text sits on a dark ground. More in Black or white text on a color.

How nsw.gov.au writes its colors

Its CSS writes 1,792 color values: 97% hex codes, 1.5% in rgb(), 1.2% bare channels in a variable and 0.1% in hsl(). 50% of its color declarations read a CSS variable through var(), and it defines 145 variables that hold a color. It also mixes colors with color-mix() 4 times.

The study found none of the frameworks it looks for in its CSS: no Tailwind CSS, Bootstrap, WordPress or site builder variables. 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 nsw.gov.au's. All 164 are on the red page, and colors that go with red shows what they pair it with.

Common questions

Is the main color of nsw.gov.au blue?

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

Does nsw.gov.au use Tailwind CSS?

No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.

Is nsw.gov.au a dark site?

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

Does the text on nsw.gov.au pass WCAG AA?

Yes. All of the text the study measured reaches 4.5:1 against what it sits on, or 3:1 where it is large; half of it reads at 14.37:1 or better.

Can I see nsw.gov.au in another palette?

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

Sources