Generated palette

Peru Palette

Peru Palette: #CD853F, #4087CE, #CE4040, #CECE40. Check roles, contrast and CSS variables; open source-color links and JSON.

Peru Palette assigns primary #CD853F, secondary #4087CE, surface #CE4040, background #CECE40, accent #000000. The set spans Orange, Blue, Red, and Yellow families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #CECE40 at 0.5763; black gives higher contrast on 3 of 5 values.

5colors
Orange palettedominant group
6use cases

Palette Color Roles

Peru Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#CD853FPeru
Secondary#4087CE#4087CE
Surface#CE4040#CE4040
Background#CECE40#CECE40
Accent#000000Black

CSS Variables

--palette-peru-primary: #CD853F;
--palette-peru-secondary: #4087CE;
--palette-peru-surface: #CE4040;
--palette-peru-background: #CECE40;
--palette-peru-accent: #000000;

Accessibility Snapshot

Compare all 5 Peru Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#CD853F
Black 7.02:1 · White 2.99:1
Best #000000
Secondary#4087CE
Black 5.57:1 · White 3.77:1
Best #000000
Surface#CE4040
Black 4.43:1 · White 4.74:1
Best #FFFFFF
Background#CECE40
Black 12.53:1 · White 1.68:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

Preview how the Peru Palette roles behave together across common interface components before copying the CSS variables.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

Machine-readable data

Machine-Readable Peru Palette Data (JSON)

Structured palette data for Peru Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.3011
Black text7.02:1AA Pass
White text2.99:1AA Fail
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured sections
Roles
[
  {
    "role": "primary",
    "hex": "#CD853F",
    "name": "Peru"
  },
  {
    "role": "secondary",
    "hex": "#4087CE",
    "name": "#4087CE"
  },
  {
    "role": "surface",
    "hex": "#CE4040",
    "name": "#CE4040"
  },
  {
    "role": "background",
    "hex": "#CECE40",
    "name": "#CECE40"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#CD853F",
    "name": "Peru",
    "blackContrast": 7.02,
    "whiteContrast": 2.99,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000"
    ]
  },
  {
    "role": "secondary",
    "hex": "#4087CE",
    "name": "#4087CE",
    "blackContrast": 5.57,
    "whiteContrast": 3.77,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#CE4040",
    "name": "#CE4040",
    "blackContrast": 4.43,
    "whiteContrast": 4.74,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#CECE40",
    "name": "#CECE40",
    "blackContrast": 12.53,
    "whiteContrast": 1.68,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "peru palette",
  "generated palette",
  "orange palette",
  "blue palette",
  "red palette",
  "yellow palette",
  "gray palette",
  "earth tone palette",
  "balanced palette",
  "dark palette",
  "neutral palette",
  "warm palette",
  "cool palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "natural branding",
  "calm digital interfaces"
]
CSS variables
"--palette-peru-primary: #CD853F;\n--palette-peru-secondary: #4087CE;\n--palette-peru-surface: #CE4040;\n--palette-peru-background: #CECE40;\n--palette-peru-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "peru",
  "name": "Peru Palette",
  "type": "generated",
  "sourceColor": "peru",
  "description": "Generated palette built from Peru, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Peru Palette combines primary #CD853F, secondary #4087CE, surface #CE4040, background #CECE40, accent #000000. According to Colors Encyclopedia, the palette works as a orange palette, blue palette, red palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
  "semanticGroups": [
    "peru palette",
    "generated palette",
    "orange palette",
    "blue palette",
    "red palette",
    "yellow palette",
    "gray palette",
    "earth tone palette",
    "balanced palette",
    "dark palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "natural branding",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#CD853F",
      "slug": "peru",
      "name": "Peru",
      "rgb": [
        205,
        133,
        63
      ],
      "hsl": [
        30,
        59,
        53
      ],
      "cmyk": [
        0,
        35,
        69,
        20
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "earth-tone"
      ],
      "luminance": 0.3011,
      "contrast": {
        "black": 7.02,
        "white": 2.99
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/peru/"
    },
    {
      "role": "secondary",
      "hex": "#4087CE",
      "slug": null,
      "name": "#4087CE",
      "rgb": [
        64,
        135,
        206
      ],
      "hsl": [
        210,
        59,
        53
      ],
      "cmyk": [
        69,
        34,
        0,
        19
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.2287,
      "contrast": {
        "black": 5.57,
        "white": 3.77
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#CE4040",
      "slug": null,
      "name": "#CE4040",
      "rgb": [
        206,
        64,
        64
      ],
      "hsl": [
        0,
        59,
        53
      ],
      "cmyk": [
        0,
        69,
        69,
        19
      ],
      "family": "red",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.1716,
      "contrast": {
        "black": 4.43,
        "white": 4.74
      },
      "wcag": {
        "AA": [
          "#FFFFFF"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#CECE40",
      "slug": null,
      "name": "#CECE40",
      "rgb": [
        206,
        206,
        64
      ],
      "hsl": [
        60,
        59,
        53
      ],
      "cmyk": [
        0,
        0,
        69,
        19
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "earth-tone"
      ],
      "luminance": 0.5763,
      "contrast": {
        "black": 12.53,
        "white": 1.68
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "accent",
      "hex": "#000000",
      "slug": "black",
      "name": "Black",
      "rgb": [
        0,
        0,
        0
      ],
      "hsl": [
        0,
        0,
        0
      ],
      "cmyk": [
        0,
        0,
        0,
        100
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark",
        "neutral"
      ],
      "luminance": 0,
      "contrast": {
        "black": 1,
        "white": 21
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/black/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#CD853F",
      "name": "Peru"
    },
    {
      "role": "secondary",
      "hex": "#4087CE",
      "name": "#4087CE"
    },
    {
      "role": "surface",
      "hex": "#CE4040",
      "name": "#CE4040"
    },
    {
      "role": "background",
      "hex": "#CECE40",
      "name": "#CECE40"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#CD853F",
      "name": "Peru",
      "blackContrast": 7.02,
      "whiteContrast": 2.99,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000"
      ]
    },
    {
      "role": "secondary",
      "hex": "#4087CE",
      "name": "#4087CE",
      "blackContrast": 5.57,
      "whiteContrast": 3.77,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#CE4040",
      "name": "#CE4040",
      "blackContrast": 4.43,
      "whiteContrast": 4.74,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#CECE40",
      "name": "#CECE40",
      "blackContrast": 12.53,
      "whiteContrast": 1.68,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-peru-primary: #CD853F;\n--palette-peru-secondary: #4087CE;\n--palette-peru-surface: #CE4040;\n--palette-peru-background: #CECE40;\n--palette-peru-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/peru.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/peru.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/peru/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/peru.json"
}