Color

#c40e8a

#c40e8a
hex#c40e8a
rgbrgb(196, 14, 138)
hslhsl(319, 87%, 41%)
oklchoklch(0.548 0.226 346.9)
Closest name: mediumvioletred (#c71585)Relative luminance 0.1388

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#0ec447

#a20ec4 · #c40e2f

#8ac40e · #0e8ac4

Split-complementary

Open in tool →

#2fc40e · #0ec4a2

#c4a20e · #0ec447 · #0e2fc4

Contrast

#c40e8a as textRatioAAAA largeAAAFix
Aaon white
5.56:1passpassfail
  • AAA: use #a70c76 as the text (7.1:1)
Aaon black
3.78:1failpassfail
  • AA: use #db0f9b as the text (4.55:1)
  • AAA: use #f45dc4 as the text (7.21:1)
  • AA: or shift the background to #e8e8e8 (4.54:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #c40e8a as the background.

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

Fonts for this mood

#c40e8a reads as warm, vivid, playful. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #c40e8a
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #c40e8a and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/c40e8a-c19fb2-74cb62-2d1f23-f0e9f1?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md