PreviewingGo to this paletteOpen in generator
Code
/* Holly Berry Card — colorset.net */
:root {
--color-1: #FAF4EA;
--color-2: #A4161A;
--color-3: #386641;
--color-4: #E9C46A;
--color-5: #26201B;
--color-bg: #FAF4EA;
--color-surface: #FFFCF6;
--color-border: #E3DBCE;
--color-text: #26201B;
--color-muted: #756D67;
--color-primary: #A4161A;
--color-on-primary: #FFFFFF;
--color-accent: #AC8829;
--color-on-accent: #26201B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #26201B;
--color-surface: #312B26;
--color-border: #494038;
--color-text: #FAF4EA;
--color-muted: #99938A;
--color-primary: #CE443E;
--color-on-primary: #FFFFFF;
--color-accent: #E9C46A;
--color-on-accent: #26201B;
}
}
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 | from palette · color 2 | adjusted for contrast · from #A4161A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E9C46A | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.71:1 | AAA pass 4.5:1 | |
| Text on surface | 15.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 7.75:1 | AAA pass 4.5:1 | |
| Label on accent | 4.83:1 | AA pass 4.5:1 | |
| Primary on background | 7.09:1 | AAA pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.71:1 | AAA pass 4.5:1 | |
| Text on surface | 12.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 9.63:1 | AAA pass 4.5:1 | |
| Primary on background | 3.46:1 | AA Large pass 3:1 | |
| Accent on background | 9.63: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 | #FAF4EA (Text 1) | #A4161A (Text 2) | #386641 (Text 3) | #E9C46A (Text 4) | #26201B (Text 5) |
|---|---|---|---|---|---|
| #FAF4EA | Same color | 7.09AAA | 6.10AA | 1.53— | 14.71AAA |
| #A4161A | 7.09AAA | Same color | 1.16— | 4.64AA | 2.08— |
| #386641 | 6.10AA | 1.16— | Same color | 4.00AA Large | 2.41— |
| #E9C46A | 1.53— | 4.64AA | 4.00AA Large | Same color | 9.63AAA |
| #26201B | 14.71AAA | 2.08— | 2.41— | 9.63AAA | Same color |
Shades
Shades and tints (50–950)
