PreviewingGo to this paletteOpen in generator
Code
/* Cosmic Teal — colorset.net */
:root {
--color-1: #071A22;
--color-2: #26C6DA;
--color-3: #F06292;
--color-4: #15323D;
--color-5: #E3F7FA;
--color-bg: #E3F7FA;
--color-surface: #F1FDFE;
--color-border: #C7DFE3;
--color-text: #071A22;
--color-muted: #596E78;
--color-primary: #E55889;
--color-on-primary: #071A22;
--color-accent: #009AAB;
--color-on-accent: #071A22;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071A22;
--color-surface: #12252D;
--color-border: #233B45;
--color-text: #E3F7FA;
--color-muted: #7F9294;
--color-primary: #F06292;
--color-on-primary: #071A22;
--color-accent: #26C6DA;
--color-on-accent: #071A22;
}
}
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 #F06292 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #26C6DA | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.06:1 | AAA pass 4.5:1 | |
| Text on surface | 17.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.83:1 | AA pass 4.5:1 | |
| Label on primary | 5.16:1 | AA pass 4.5:1 | |
| Label on accent | 5.26:1 | AA pass 4.5:1 | |
| Primary on background | 3.11:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.06:1 | AAA pass 4.5:1 | |
| Text on surface | 14.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 5.82:1 | AA pass 4.5:1 | |
| Label on accent | 8.62:1 | AAA pass 4.5:1 | |
| Primary on background | 5.82:1 | AA pass 3:1 | |
| Accent on background | 8.62: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 | #071A22 (Text 1) | #26C6DA (Text 2) | #F06292 (Text 3) | #15323D (Text 4) | #E3F7FA (Text 5) |
|---|---|---|---|---|---|
| #071A22 | Same color | 8.62AAA | 5.82AA | 1.32— | 16.06AAA |
| #26C6DA | 8.62AAA | Same color | 1.48— | 6.54AA | 1.86— |
| #F06292 | 5.82AA | 1.48— | Same color | 4.41AA Large | 2.76— |
| #15323D | 1.32— | 6.54AA | 4.41AA Large | Same color | 12.18AAA |
| #E3F7FA | 16.06AAA | 1.86— | 2.76— | 12.18AAA | Same color |
Shades
Shades and tints (50–950)
