PreviewingGo to this paletteOpen in generator
Code
/* Euphoric Colors — colorset.net */
:root {
--color-1: #FF1493;
--color-2: #00BFFF;
--color-3: #32CD32;
--color-4: #FFD700;
--color-5: #DA70D6;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #773A52;
--color-muted: #80636D;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #008808;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0810;
--color-surface: #26121A;
--color-border: #3E252E;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #32CD32;
--color-on-accent: #1B0810;
}
}
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 #FFD700 | adjusted for contrast · from #FF1493 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF1493 | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF1493 | adjusted for contrast · from #FF1493 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #32CD32 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.77:1 | AAA pass 4.5:1 | |
| Text on surface | 12.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 9.11:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 9.11: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 | #FF1493 (Text 1) | #00BFFF (Text 2) | #32CD32 (Text 3) | #FFD700 (Text 4) | #DA70D6 (Text 5) |
|---|---|---|---|---|---|
| #FF1493 | Same color | 1.71— | 1.72— | 2.59— | 1.26— |
| #00BFFF | 1.71— | Same color | 1.00— | 1.51— | 1.36— |
| #32CD32 | 1.72— | 1.00— | Same color | 1.51— | 1.36— |
| #FFD700 | 2.59— | 1.51— | 1.51— | Same color | 2.06— |
| #DA70D6 | 1.26— | 1.36— | 1.36— | 2.06— | Same color |
Shades
Shades and tints (50–950)
