An OKLCH-based perceptually uniform color system/theme builder
Details
- External ID
- 46024168
- Source
- HN
- Company
- —
- Product
- An OKLCH-based perceptually uniform color system/theme builder
- Website domain
- colorphreak.com
- Launched
- Nov. 23, 2025
- Cohort
- —
- Upvotes
- 5
- Upvotes percentile
- 0.0982532751091703
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
I've been using a version of this internally for a few months but decided to polish it a little to finally deploy it.It's a color system generator that creates accessible, perceptually uniform color palettes using the OKLCH space. It takes one seed (primary) color, generates relative key colors from multiple color harmony schemes (analogous, complementary, etc) that are then used to create 26-step color ramps each. Shades from the ramps are then used to generate semantic color roles, or can be used for creating custom palettes.All colors are gamut-mapped to the sRGB gamut with chroma reduction, essentially preserving lightness and hue values while finding the maximum in-gamut chroma for each step.There are obvious similarities to Material Design Themes, mostly because I'm visually pretty comfortable with it. Plus, I started this project back when some of the colors generated by Material could be a little dull and I wanted to learn/build something like this from the ground up.There are a couple of improvements I would like to make to this in the near future. The first one is a dynamic chroma curve (the chroma falloffs for the ramps are on a bell curve). At the moment, the chroma curve peaks at L ~0.55 for all hue ranges, which works good enough but isn't ideal for a few reasons. The second one would be adding seed color extraction from images. And maybe a built-in contrast checker.If you find the tool helpful and/or have any feedback or suggestions, let me know.
Enrichment
- Theme
- graphic design assets and utilities
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- oklch color system and theme builder
- Manually corrected
- False
Could you build this?
Yes It is a frontend React/web application running deterministic color-space conversion math using standard color science libraries.
Discussion
1 comment analyzed.
Feature requests: Export for shadcn UI
Competitors
Other products that read as similar to this one — 111 launches clear the similarity bar, closest 8 shown.
Attention rank: #104 of 112 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 18 days after the earliest competitor.
- I built a theme engine for white-label apps using OKLCH color science · hn · 2026-04-06 · 5 upvotes · similarity 0.72
- Simple algorithm and color space to generate diverse skin tones · hn · 2026-08-04 · 627 upvotes · similarity 0.60
- Explore color palettes inspired by 3000 master painter artworks · hn · 2026-05-05 · 215 upvotes · similarity 0.52
- Chroma Panel - Modern React Color Picker · ph · 2026-09-25 · 1 upvotes · similarity 0.50
- Image Color Palette Generator · ph · 2026-09-28 · 2 upvotes · similarity 0.48
- Palette · ph · 2026-09-23 · 2 upvotes · similarity 0.48
- Color Palette Generator - 17 Schemes · ph · 2026-09-13 · 2 upvotes · similarity 0.48
- Izy Colors · ph · 2026-09-29 · 1 upvotes · similarity 0.45
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.