Pea & Marine
A vivid palette of 5 colors from the Afoli gallery: #002A3C, #D35046, #A27D00, #F887B0, #A4C500.
Open in the Afoli palette generator →
#002A3C · Midnight Blue#D35046 · Indian Red#A27D00 · Dark Goldenrod#F887B0 · Hot Pink#A4C500 · Yellow Green
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #002A3C | rgb(0, 42, 60) | hsl(198, 100%, 12%) | 100, 30, 0, 76 | ≈ Midnight Blue |
| #D35046 | rgb(211, 80, 70) | hsl(4, 62%, 55%) | 0, 62, 67, 17 | ≈ Indian Red |
| #A27D00 | rgb(162, 125, 0) | hsl(46, 100%, 32%) | 0, 23, 100, 36 | ≈ Dark Goldenrod |
| #F887B0 | rgb(248, 135, 176) | hsl(338, 89%, 75%) | 0, 46, 29, 3 | ≈ Hot Pink |
| #A4C500 | rgb(164, 197, 0) | hsl(70, 100%, 39%) | 17, 0, 100, 23 | ≈ Yellow Green |
Preview in a UI
A heading in the primary color
Body text on the background, as a page or an app would show it.
Text on a card · #D35046
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 7.57 : 1 | -61 | Pass (WCAG) |
| Text on a card | 7.57 : 1 | -61 | Pass (WCAG) |
| Button label | 3.58 : 1 | 32 | Fail |
| Heading on background | 3.58 : 1 | -30 | Pass (WCAG) |
| Link on a card | 3.58 : 1 | -30 | Fail |
| Accent badge on a card | 3.92 : 1 | -33 | Pass (WCAG) |
| Primary control on background | 3.58 : 1 | -30 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #002A3C;
--indian-red: #D35046;
--dark-goldenrod: #A27D00;
--hot-pink: #F887B0;
--yellow-green: #A4C500;
}
How this palette was made
Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).
Frequently asked questions
How do I use the Pea & Marine palette in CSS?
Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.
Which colors of Pea & Marine can I use for text?
#002A3C text on #A4C500 reaches 7.57 : 1, the strongest pair of the palette.
Similar palettes
- Carnation Pink & Dark Forest Green
- Darkish Pink & Dark Forest Green (Vivid)
- Warm Pink & Dark Maroon
- Violet & Dark Forest Green
- Violet & Dark Brown
- Rusty Red & Greenblue
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)