PreviewingGo to this paletteOpen in generator
Code
/* Bold Rainbow — colorset.net */
:root {
--color-1: #FF0000;
--color-2: #FF4500;
--color-3: #FFD700;
--color-4: #32CD32;
--color-5: #4169E1;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #394D81;
--color-muted: #616B83;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #4169E1;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #12192A;
--color-border: #242D42;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #4169E1;
--color-on-accent: #FFFFFF;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #FFD700 | adjusted for contrast · from #4169E1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4169E1 | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0000 | adjusted for contrast · from #FF0000 |
| On primary | derived | derived |
| Accent | from palette · color 5 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 4.52:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.65:1 | AAA pass 4.5:1 | |
| Text on surface | 12.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 3.94:1 | AA Large pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #FF0000 (Text 1) | #FF4500 (Text 2) | #FFD700 (Text 3) | #32CD32 (Text 4) | #4169E1 (Text 5) |
|---|---|---|---|---|---|
| #FF0000 | Same color | 1.16— | 2.85— | 1.89— | 1.21— |
| #FF4500 | 1.16— | Same color | 2.45— | 1.62— | 1.41— |
| #FFD700 | 2.85— | 2.45— | Same color | 1.51— | 3.46AA Large |
| #32CD32 | 1.89— | 1.62— | 1.51— | Same color | 2.29— |
| #4169E1 | 1.21— | 1.41— | 3.46AA Large | 2.29— | Same color |
Shades
Shades and tints (50–950)
