PreviewingGo to this paletteOpen in generator
Code
/* Kind Hours — colorset.net */
:root {
--color-1: #FFF6F2;
--color-2: #F28472;
--color-3: #2E7D7A;
--color-4: #F8CFC4;
--color-5: #2D2422;
--color-bg: #FFF6F2;
--color-surface: #F6EDE9;
--color-border: #E0D3CE;
--color-text: #2D2422;
--color-muted: #736866;
--color-primary: #BE5646;
--color-on-primary: #FFFFFF;
--color-accent: #2E7D7A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0E;
--color-surface: #1C1918;
--color-border: #332C2A;
--color-text: #FFF6F2;
--color-muted: #928A86;
--color-primary: #F28472;
--color-on-primary: #120F0E;
--color-accent: #2E7D7A;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #2D2422 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F28472 | 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.21:1 | AAA pass 4.5:1 | |
| Text on surface | 13.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.55:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.92:1 | AAA pass 4.5:1 | |
| Text on surface | 16.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.64:1 | AA pass 4.5:1 | |
| Label on primary | 7.56:1 | AAA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 7.56:1 | AAA pass 3:1 | |
| Accent on background | 3.94: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 | #FFF6F2 (Text 1) | #F28472 (Text 2) | #2E7D7A (Text 3) | #F8CFC4 (Text 4) | #2D2422 (Text 5) |
|---|---|---|---|---|---|
| #FFF6F2 | Same color | 2.37— | 4.55AA | 1.34— | 14.21AAA |
| #F28472 | 2.37— | Same color | 1.92— | 1.77— | 6.00AA |
| #2E7D7A | 4.55AA | 1.92— | Same color | 3.40AA Large | 3.12AA Large |
| #F8CFC4 | 1.34— | 1.77— | 3.40AA Large | Same color | 10.61AAA |
| #2D2422 | 14.21AAA | 6.00AA | 3.12AA Large | 10.61AAA | Same color |
Shades
Shades and tints (50–950)
