PreviewingGo to this paletteOpen in generator
Code
/* Navy Coral Flag — colorset.net */
:root {
--color-1: #F96854;
--color-2: #052D49;
--color-3: #FFFFFF;
--color-4: #FF5441;
--color-5: #FF8A80;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #052D49;
--color-muted: #5D7387;
--color-primary: #FB503E;
--color-on-primary: #000000;
--color-accent: #8C8C8C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05111A;
--color-surface: #0F1B25;
--color-border: #20303D;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #FF5441;
--color-on-primary: #05111A;
--color-accent: #436989;
--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 3 | adjusted for contrast · from #052D49 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 2 | from palette · color 3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF5441 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8A80 | adjusted for contrast · from #052D49 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.21:1 | AAA pass 4.5:1 | |
| Text on surface | 13.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.32:1 | AA pass 4.5:1 | |
| Label on accent | 6.25:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.06:1 | AAA pass 4.5:1 | |
| Text on surface | 17.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.89:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.80:1 | AA pass 4.5:1 | |
| Primary on background | 5.99:1 | AA pass 3:1 | |
| Accent on background | 3.29: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 | #F96854 (Text 1) | #052D49 (Text 2) | #FFFFFF (Text 3) | #FF5441 (Text 4) | #FF8A80 (Text 5) |
|---|---|---|---|---|---|
| #F96854 | Same color | 4.83AA | 2.94— | 1.08— | 1.29— |
| #052D49 | 4.83AA | Same color | 14.21AAA | 4.46AA Large | 6.22AA |
| #FFFFFF | 2.94— | 14.21AAA | Same color | 3.18AA Large | 2.28— |
| #FF5441 | 1.08— | 4.46AA Large | 3.18AA Large | Same color | 1.39— |
| #FF8A80 | 1.29— | 6.22AA | 2.28— | 1.39— | Same color |
Shades
Shades and tints (50–950)
