PreviewingGo to this paletteOpen in generator
Code
/* Sangria Red — colorset.net */
:root {
--color-1: #5E001F;
--color-2: #800020;
--color-3: #92000A;
--color-4: #B22222;
--color-5: #DC143C;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #531724;
--color-muted: #816265;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #800020;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080B;
--color-surface: #271215;
--color-border: #3F2529;
--color-text: #C39998;
--color-muted: #9A7A79;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #A54858;
--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 | adjusted for contrast · from #DC143C | adjusted for contrast · from #5E001F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5E001F | adjusted for contrast · from #DC143C |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #B22222 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.86:1 | AAA pass 4.5:1 | |
| Text on surface | 11.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 10.83:1 | AAA pass 4.5:1 | |
| Primary on background | 4.63:1 | AA pass 3:1 | |
| Accent on background | 10.05:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 3.37: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 | #5E001F (Text 1) | #800020 (Text 2) | #92000A (Text 3) | #B22222 (Text 4) | #DC143C (Text 5) |
|---|---|---|---|---|---|
| #5E001F | Same color | 1.30— | 1.49— | 2.10— | 2.81— |
| #800020 | 1.30— | Same color | 1.15— | 1.62— | 2.17— |
| #92000A | 1.49— | 1.15— | Same color | 1.41— | 1.89— |
| #B22222 | 2.10— | 1.62— | 1.41— | Same color | 1.34— |
| #DC143C | 2.81— | 2.17— | 1.89— | 1.34— | Same color |
Shades
Shades and tints (50–950)
