PreviewingGo to this paletteOpen in generator
Code
/* Pink Coral — colorset.net */
:root {
--color-1: #FF99CC;
--color-2: #FFAADD;
--color-3: #FFBBEE;
--color-4: #FFCCFF;
--color-5: #FFDDFF;
--color-bg: #FDF3FD;
--color-surface: #F4EAF4;
--color-border: #DDD0DD;
--color-text: #743A58;
--color-muted: #7E636F;
--color-primary: #B45587;
--color-on-primary: #FFFFFF;
--color-accent: #9B7C9B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0912;
--color-surface: #25121C;
--color-border: #3D2531;
--color-text: #FCDFFC;
--color-muted: #927C92;
--color-primary: #FF99CC;
--color-on-primary: #1A0912;
--color-accent: #FFBBEE;
--color-on-accent: #1A0912;
}
}
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 | adjusted for contrast · from #FFDDFF | adjusted for contrast · from #FF99CC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF99CC | adjusted for contrast · from #FFDDFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF99CC | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF99CC | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.75:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.38:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.66:1 | AAA pass 4.5:1 | |
| Text on surface | 14.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 9.78:1 | AAA pass 4.5:1 | |
| Label on accent | 12.45:1 | AAA pass 4.5:1 | |
| Primary on background | 9.78:1 | AAA pass 3:1 | |
| Accent on background | 12.45: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 | #FF99CC (Text 1) | #FFAADD (Text 2) | #FFBBEE (Text 3) | #FFCCFF (Text 4) | #FFDDFF (Text 5) |
|---|---|---|---|---|---|
| #FF99CC | Same color | 1.13— | 1.27— | 1.44— | 1.60— |
| #FFAADD | 1.13— | Same color | 1.13— | 1.27— | 1.41— |
| #FFBBEE | 1.27— | 1.13— | Same color | 1.13— | 1.25— |
| #FFCCFF | 1.44— | 1.27— | 1.13— | Same color | 1.11— |
| #FFDDFF | 1.60— | 1.41— | 1.25— | 1.11— | Same color |
Shades
Shades and tints (50–950)
