PreviewingGo to this paletteOpen in generator
Code
/* Kilim Rug — colorset.net */
:root {
--color-1: #EFE0C8;
--color-2: #A8322D;
--color-3: #3D5A5B;
--color-4: #D99A3D;
--color-5: #2A1F1B;
--color-bg: #FBF6EF;
--color-surface: #F1EDE6;
--color-border: #DAD4CA;
--color-text: #2A1F1B;
--color-muted: #746762;
--color-primary: #A8322D;
--color-on-primary: #FFFFFF;
--color-accent: #A26A00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A1F1B;
--color-surface: #352A26;
--color-border: #4E3F39;
--color-text: #EFE0C8;
--color-muted: #9F927B;
--color-primary: #C74F47;
--color-on-primary: #FFFFFF;
--color-accent: #D99A3D;
--color-on-accent: #2A1F1B;
}
}
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 #EFE0C8 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #A8322D |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A8322D | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.91:1 | AAA pass 4.5:1 | |
| Text on surface | 13.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 6.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 6.18:1 | AA pass 3:1 | |
| Accent on background | 4.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.34:1 | AAA pass 4.5:1 | |
| Text on surface | 10.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 6.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.54:1 | AA Large pass 3:1 | |
| Accent on background | 6.59: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 | #EFE0C8 (Text 1) | #A8322D (Text 2) | #3D5A5B (Text 3) | #D99A3D (Text 4) | #2A1F1B (Text 5) |
|---|---|---|---|---|---|
| #EFE0C8 | Same color | 5.12AA | 5.75AA | 1.87— | 12.34AAA |
| #A8322D | 5.12AA | Same color | 1.12— | 2.73— | 2.41— |
| #3D5A5B | 5.75AA | 1.12— | Same color | 3.07AA Large | 2.15— |
| #D99A3D | 1.87— | 2.73— | 3.07AA Large | Same color | 6.59AA |
| #2A1F1B | 12.34AAA | 2.41— | 2.15— | 6.59AA | Same color |
Shades
Shades and tints (50–950)
