---
title: "Generate a 50–950 scale"
method: POST
path: "/api/v1/generate-scale"
---

# Generate a 50–950 scale

`POST /api/v1/generate-scale`

## Request

- Base URL: `https://pickshade.com`
- URL: `https://pickshade.com/api/v1/generate-scale`
- Auth: none declared

Build an 11-step tint and shade scale (50, 100 … 900, 950) from one color in OKLCH, the same shape as Tailwind palettes, with even perceived lightness steps.

## Request body

- object
  - `color` string, required: Any color: #ff5733, rgb(255 87 51), hsl(11 100% 60%), oklch(68% 0.21 34), a CSS or common name like navy, or a Tailwind class like sky-500

## 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)
