---
title: "Audit a palette for accessibility"
method: POST
path: "/api/v1/audit-palette"
---

# Audit a palette for accessibility

`POST /api/v1/audit-palette`

## Request

- Base URL: `https://pickshade.com`
- URL: `https://pickshade.com/api/v1/audit-palette`
- Auth: none declared

Check every text and background pair in a palette with WCAG 2 and APCA, list which pairs are safe for body text, large text or only decoration, find colors that people with color blindness cannot tell apart, and flag colors outside sRGB. Use it before shipping a theme or chart palette.

## Request body

- object
  - `colors` string[], required: Palette colors, 2 to 12

## Response `200`

Result

## Other responses

- `400`: Invalid input
- `429`: Too many requests. See the Retry-After header

---

[API](https://skmtc.dev/pickshade/apis/pickshade-color-api.md) · [All operations](https://skmtc.dev/pickshade/apis/pickshade-color-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pickshade/apis/pickshade-color-api/revisions/00f0b7c55ea7?raw)
