---
title: "Font Colour Advisor"
method: POST
path: "/colour/font-advisor"
---

# Font Colour Advisor

`POST /colour/font-advisor`

## Request

- Base URL: `https://api.colourmemory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.colourmemory.com/colour/font-advisor`
- Auth: none declared

Given a background hex and a palette of candidate foreground colours,
return them ranked by contrast ratio with WCAG grades and specific
recommendations for body text, large text, and UI components.

## Request body

- FontColourAdvisorRequest
  - `background` string, required
  - `palette` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/colourmemory/apis/colour-memory-api.md) · [All operations](https://skmtc.dev/colourmemory/apis/colour-memory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/colourmemory/apis/colour-memory-api/revisions/4ba028f64042?raw)
