A red site with 19 colors in use, built with Bootstrap, 96% of its text at WCAG AA
The colors of ap.org
Recolor (recolor.page) read the home page of ap.org on October 8, 2026: its main color is #ff1818, a red, and it paints 19 colors in 3 hue families out of 161 distinct values in its CSS, half of its text at 21:1 or better against what it sits on.
Measured
| Measure | ap.org |
|---|---|
| Main color | #ff1818, a red near red |
| Five heaviest colors | #ffffff #000000 #ff1818 #dcdcdc #ffba00 |
| Colors in use | 19, 8 more than a gray; 161 distinct values in the CSS |
| Hue families | 3; red and yellow hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | No |
| Notations | hex codes 77%, rgb() 23%, named colors 0.2% |
Colors through var() | 40% of its color declarations; 67 variables hold a color |
| Framework | Bootstrap, WordPress |
| Text contrast | Median 21:1; 3.9% of its text under 4.5:1 |
| Page measured | https://www.ap.org/, 389 KB of CSS |
The palette of ap.org
Taken the way Recolor's Use site colours takes a page's colors, ap.org gives the palette #ff1818, #ffba00, #007aff, #ffffff and #000000: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open ap.org in Recolor in its own colors or try another palette on ap.org.
CSS variables
:root {
--color-1: #ff1818;
--color-2: #ffba00;
--color-3: #007aff;
--color-4: #ffffff;
--color-5: #000000;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #ff1818;
--color-2: #ffba00;
--color-3: #007aff;
--color-4: #ffffff;
--color-5: #000000;
--color-primary: #ff1818;
--color-secondary: #ffba00;
--color-accent: #007aff;
}Text contrast on ap.org
The median contrast of the text on ap.org is 21:1, and 3.6% of it fails WCAG AA: 3.9% is under 4.5:1 and 0% under 3:1. On the average studied site 6% of the text fails. 15% of its text sits on a dark ground. To pick a readable ink for a background, see Black or white text on a color.
How ap.org writes its colors
The 636 color values in its CSS are written as hex codes (77%), rgb() (23%) and named colors (0.2%). Through var(), 40% of its color declarations take their color from a CSS variable; 67 variables hold one.
By its variables, the study told Bootstrap's variables (one of 130 Bootstrap sites) and WordPress's color presets in its CSS. No dark mode shows in its CSS; 41% of the studied sites declare one.
Sites with a similar main color
The red sites nearest ap.org in the lightness of their main color. The red page lists all 164; colors that go with red counts the hues beside it. ap.org is also listed under Bootstrap sites.
Common questions
Is the main color of ap.org blue?
No. Its main color is #ff1818, a red near the CSS color red; blue leads on 49% of the 1,000 sites the study read.
Does ap.org use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found Bootstrap and WordPress.
Is ap.org a dark site?
No. The color behind its home page is #ffffff, a light canvas.
Does the text on ap.org pass WCAG AA?
No. 3.6% of its text fails AA, though half of it reads at 21:1 or better.
Can I see ap.org in another palette?
Yes. Load ap.org in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.
Sources
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 1270 recolor.page
- ap.org, the page measured ap.org
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com