PreviewingGo to this paletteOpen in generator
Code
/* Cognac Lounge — colorset.net */
:root {
--color-1: #1F1611;
--color-2: #C27A3A;
--color-3: #4F8A8C;
--color-4: #3B2C22;
--color-5: #F3E9DD;
--color-bg: #F3E9DD;
--color-surface: #F7F1EA;
--color-border: #DCD0C1;
--color-text: #1F1611;
--color-muted: #71655F;
--color-primary: #AB6522;
--color-on-primary: #FFFFFF;
--color-accent: #4F8A8C;
--color-on-accent: #1F1611;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1F1611;
--color-surface: #2A201B;
--color-border: #42352D;
--color-text: #F3E9DD;
--color-muted: #91887D;
--color-primary: #C27A3A;
--color-on-primary: #1F1611;
--color-accent: #4F8A8C;
--color-on-accent: #1F1611;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C27A3A | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.83:1 | AAA pass 4.5:1 | |
| Text on surface | 15.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.83:1 | AAA pass 4.5:1 | |
| Text on surface | 13.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.20:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 5.20:1 | AA pass 3:1 | |
| Accent on background | 4.53:1 | AA 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 | #1F1611 (Text 1) | #C27A3A (Text 2) | #4F8A8C (Text 3) | #3B2C22 (Text 4) | #F3E9DD (Text 5) |
|---|---|---|---|---|---|
| #1F1611 | Same color | 5.20AA | 4.53AA | 1.33— | 14.83AAA |
| #C27A3A | 5.20AA | Same color | 1.15— | 3.91AA Large | 2.85— |
| #4F8A8C | 4.53AA | 1.15— | Same color | 3.41AA Large | 3.28AA Large |
| #3B2C22 | 1.33— | 3.91AA Large | 3.41AA Large | Same color | 11.16AAA |
| #F3E9DD | 14.83AAA | 2.85— | 3.28AA Large | 11.16AAA | Same color |
Shades
Shades and tints (50–950)
