Tints and shades generator

Choose how many lighter tints and darker shades you need on either side of your base color, then copy the hex codes.

Input

No key required

Result

Example

  • #d4e5e4
  • #a8cbca
  • #7db2b1
  • #4e9998
  • #008080Base
  • #005d5d
  • #003d3d
  • #001f1f
  • #000606

Full response
{
  "base": {
    "hex": "#008080",
    "oklch": {
      "l": 0.54312,
      "c": 0.09271,
      "h": 194.77
    },
    "css": "oklch(0.54312 0.09271 194.77)",
    "contrast": {
      "white": 4.77,
      "black": 4.39
    }
  },
  "tints": [
    {
      "mix": 20,
      "hex": "#4e9998",
      "oklch": {
        "l": 0.63487,
        "c": 0.07466,
        "h": 194.29
      },
      "css": "oklch(0.63487 0.07466 194.29)",
      "contrast": {
        "white": 3.31,
        "black": 6.33
      }
    },
    {
      "mix": 40,
      "hex": "#7db2b1",
      "oklch": {
        "l": 0.72635,
        "c": 0.05566,
        "h": 194.51
      },
      "css": "oklch(0.72635 0.05566 194.51)",
      "contrast": {
        "white": 2.36,
        "black": 8.87
      }
    },
    {
      "mix": 60,
      "hex": "#a8cbca",
      "oklch": {
        "l": 0.81637,
        "c": 0.0373,
        "h": 194.3
      },
      "css": "oklch(0.81637 0.0373 194.3)",
      "contrast": {
        "white": 1.74,
        "black": 12.06
      }
    },
    {
      "mix": 80,
      "hex": "#d4e5e4",
      "oklch": {
        "l": 0.90893,
        "c": 0.01817,
        "h": 192.58
      },
      "css": "oklch(0.90893 0.01817 192.58)",
      "contrast": {
        "white": 1.3,
        "black": 16.12
      }
    }
  ],
  "shades": [
    {
      "mix": 20,
      "hex": "#005d5d",
      "oklch": {
        "l": 0.43311,
        "c": 0.07393,
        "h": 194.77
      },
      "css": "oklch(0.43311 0.07393 194.77)",
      "contrast": {
        "white": 7.7,
        "black": 2.72
      }
    },
    {
      "mix": 40,
      "hex": "#003d3d",
      "oklch": {
        "l": 0.32596,
        "c": 0.05564,
        "h": 194.77
      },
      "css": "oklch(0.32596 0.05564 194.77)",
      "contrast": {
        "white": 12.1,
        "black": 1.73
      }
    },
    {
      "mix": 60,
      "hex": "#001f1f",
      "oklch": {
        "l": 0.21666,
        "c": 0.03698,
        "h": 194.77
      },
      "css": "oklch(0.21666 0.03698 194.77)",
      "contrast": {
        "white": 17.27,
        "black": 1.21
      }
    },
    {
      "mix": 80,
      "hex": "#000606",
      "oklch": {
        "l": 0.11057,
        "c": 0.01887,
        "h": 194.77
      },
      "css": "oklch(0.11057 0.01887 194.77)",
      "contrast": {
        "white": 20.41,
        "black": 1.02
      }
    }
  ]
}

Run with curl

Copy this command to run the request in your terminal. It updates as you edit the input.

For higher limits, get a free API key and add -H "Authorization: Bearer $KAMINEKO_API_KEY".

GET /v1/color/shades
curl 'https://api.kamineko.dev/v1/color/shades?value=%23008080&steps=4'

Use with MCP

Set KAMINEKO_API_KEY to your key and run this command to connect Claude Code. Try the color_shades tool with this prompt.

Give me four tints and four shades of teal.
MCP https://api.kamineko.dev/mcp
claude mcp add --transport http kamineko \
  https://api.kamineko.dev/mcp \
  --header "Authorization: Bearer $KAMINEKO_API_KEY"