PreviewingGo to this paletteOpen in generator
Code
/* Carmine Red — colorset.net */
:root {
--color-1: #960018;
--color-2: #AA1A2C;
--color-3: #BE3340;
--color-4: #D24D54;
--color-5: #E66668;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #783835;
--color-muted: #80625F;
--color-primary: #BE3340;
--color-on-primary: #FFFFFF;
--color-accent: #960018;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0908;
--color-surface: #281311;
--color-border: #402624;
--color-text: #C59B99;
--color-muted: #9B7B7A;
--color-primary: #BE3340;
--color-on-primary: #FFFFFF;
--color-accent: #E66668;
--color-on-accent: #1C0908;
}
}
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 #E66668 | adjusted for contrast · from #960018 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #960018 | adjusted for contrast · from #E66668 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.07:1 | AAA pass 4.5:1 | |
| Text on surface | 7.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 9.09:1 | AAA pass 4.5:1 | |
| Primary on background | 5.21:1 | AA pass 3:1 | |
| Accent on background | 8.44:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 5.92:1 | AA 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 | #960018 (Text 1) | #AA1A2C (Text 2) | #BE3340 (Text 3) | #D24D54 (Text 4) | #E66668 (Text 5) |
|---|---|---|---|---|---|
| #960018 | Same color | 1.25— | 1.62— | 2.13— | 2.80— |
| #AA1A2C | 1.25— | Same color | 1.29— | 1.70— | 2.23— |
| #BE3340 | 1.62— | 1.29— | Same color | 1.32— | 1.73— |
| #D24D54 | 2.13— | 1.70— | 1.32— | Same color | 1.31— |
| #E66668 | 2.80— | 2.23— | 1.73— | 1.31— | Same color |
Shades
Shades and tints (50–950)
