PreviewingGo to this paletteOpen in generator
Code
/* Caramel Duo — colorset.net */
:root {
--color-1: #F6EFE6;
--color-2: #C0612B;
--color-3: #23395B;
--color-4: #EDB47A;
--color-5: #2B211B;
--color-bg: #F6EFE6;
--color-surface: #FBF7F1;
--color-border: #DFD6CA;
--color-text: #2B211B;
--color-muted: #756962;
--color-primary: #B95B24;
--color-on-primary: #FFFFFF;
--color-accent: #23395B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2B211B;
--color-surface: #362C26;
--color-border: #4F4139;
--color-text: #F6EFE6;
--color-muted: #9B958D;
--color-primary: #C0612B;
--color-on-primary: #000000;
--color-accent: #617AA0;
--color-on-accent: #000000;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C0612B | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #C0612B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.78:1 | AAA pass 4.5:1 | |
| Text on surface | 14.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 11.62:1 | AAA pass 4.5:1 | |
| Primary on background | 4.01:1 | AA Large pass 3:1 | |
| Accent on background | 10.18:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.78:1 | AAA pass 4.5:1 | |
| Text on surface | 11.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.80:1 | AA pass 4.5:1 | |
| Primary on background | 3.73:1 | AA Large pass 3:1 | |
| Accent on background | 3.59: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 | #F6EFE6 (Text 1) | #C0612B (Text 2) | #23395B (Text 3) | #EDB47A (Text 4) | #2B211B (Text 5) |
|---|---|---|---|---|---|
| #F6EFE6 | Same color | 3.69AA Large | 10.18AAA | 1.61— | 13.78AAA |
| #C0612B | 3.69AA Large | Same color | 2.76— | 2.29— | 3.73AA Large |
| #23395B | 10.18AAA | 2.76— | Same color | 6.31AA | 1.35— |
| #EDB47A | 1.61— | 2.29— | 6.31AA | Same color | 8.54AAA |
| #2B211B | 13.78AAA | 3.73AA Large | 1.35— | 8.54AAA | Same color |
Shades
Shades and tints (50–950)
