PreviewingGo to this paletteOpen in generator
Code
/* Scarlet Red — colorset.net */
:root {
--color-1: #FFCDD2;
--color-2: #EF9A9A;
--color-3: #E57373;
--color-4: #EF5350;
--color-5: #F44336;
--color-bg: #FFF4F5;
--color-surface: #F9E9EA;
--color-border: #E3CFD1;
--color-text: #7A3B33;
--color-muted: #82645F;
--color-primary: #E22E25;
--color-on-primary: #FFFFFF;
--color-accent: #AA7C81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #FBCFD3;
--color-muted: #997A7D;
--color-primary: #E22E25;
--color-on-primary: #FFFFFF;
--color-accent: #EF9A9A;
--color-on-accent: #1C0907;
}
}
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 #FFCDD2 | adjusted for contrast · from #F44336 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #EF5350 | adjusted for contrast · from #FFCDD2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F44336 | adjusted for contrast · from #F44336 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E57373 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.91:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.71:1 | AAA pass 4.5:1 | |
| Text on surface | 12.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 8.94:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 8.94:1 | AAA 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 | #FFCDD2 (Text 1) | #EF9A9A (Text 2) | #E57373 (Text 3) | #EF5350 (Text 4) | #F44336 (Text 5) |
|---|---|---|---|---|---|
| #FFCDD2 | Same color | 1.53— | 2.12— | 2.48— | 2.62— |
| #EF9A9A | 1.53— | Same color | 1.39— | 1.62— | 1.71— |
| #E57373 | 2.12— | 1.39— | Same color | 1.17— | 1.23— |
| #EF5350 | 2.48— | 1.62— | 1.17— | Same color | 1.06— |
| #F44336 | 2.62— | 1.71— | 1.23— | 1.06— | Same color |
Shades
Shades and tints (50–950)
