PreviewingGo to this paletteOpen in generator
Code
/* Pledge Coral — colorset.net */
:root {
--color-1: #FFF7F2;
--color-2: #E8573F;
--color-3: #2E5E4E;
--color-4: #F7C9B6;
--color-5: #2A1E1A;
--color-bg: #FFF7F2;
--color-surface: #F6EEE9;
--color-border: #E0D4CD;
--color-text: #2A1E1A;
--color-muted: #796A65;
--color-primary: #D3432C;
--color-on-primary: #FFFFFF;
--color-accent: #2E5E4E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A1E1A;
--color-surface: #352925;
--color-border: #4E3E38;
--color-text: #FFF7F2;
--color-muted: #9C9590;
--color-primary: #D3432C;
--color-on-primary: #FFFFFF;
--color-accent: #4E7E6D;
--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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8573F | adjusted for contrast · from #E8573F |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #2E5E4E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.27:1 | AAA pass 4.5:1 | |
| Text on surface | 14.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 7.43:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 7.02:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.27:1 | AAA pass 4.5:1 | |
| Text on surface | 13.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.48:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.55:1 | AA Large pass 3:1 | |
| Accent on background | 3.49: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 | #FFF7F2 (Text 1) | #E8573F (Text 2) | #2E5E4E (Text 3) | #F7C9B6 (Text 4) | #2A1E1A (Text 5) |
|---|---|---|---|---|---|
| #FFF7F2 | Same color | 3.38AA Large | 7.02AAA | 1.42— | 15.27AAA |
| #E8573F | 3.38AA Large | Same color | 2.07— | 2.38— | 4.52AA |
| #2E5E4E | 7.02AAA | 2.07— | Same color | 4.95AA | 2.18— |
| #F7C9B6 | 1.42— | 2.38— | 4.95AA | Same color | 10.77AAA |
| #2A1E1A | 15.27AAA | 4.52AA | 2.18— | 10.77AAA | Same color |
Shades
Shades and tints (50–950)
