KROMA — Know Your Colors won 1st Place at the YouCam API Skin AI & eCommerce VTO Hackathon. It was built by Ricardo Quispe Mejía, Josue Martines Cancho, Leonardo Palomino and Pedro Fernando Yanyachi Perez. The problem it solves is narrow and still largely unsolved: a person with color vision deficiency cannot see the color of their own face, so every clothing decision that depends on that color is guesswork.
This article breaks down how the team turned that observation into a working shopping assistant: the user journey, what each YouCam API does, how the calls are chained, and which engineering decisions are worth copying if you are building something similar with the AI Clothes Changer API.
KROMA at a glance

KROMA — Know Your Colors. Logo: KROMA Team.
| Detail | Information |
|---|---|
| Award | 1st Place, YouCam API Skin AI & eCommerce VTO Hackathon |
| Team | Ricardo Quispe Mejía, Josue Martines Cancho, Leonardo Palomino and Pedro Fernando Yanyachi Perez |
| Problem | People with color vision deficiency cannot judge how a garment works with their own face or with the clothes they already own |
| Users | Shoppers with color vision deficiency, including the many who have never been diagnosed |
| YouCam APIs | AI Facial Color Tones Analyzer, AI Photo Lighting, AI Fitzpatrick Skin Type Analysis, AI Skin Analysis, AI Photo Background Removal, AI Clothes, Scarf and Hat Virtual Try-On, AI Makeup Virtual Try-On, File API, YouCam MCP server |
| Other platforms | Next.js 15, TypeScript, Tailwind CSS, IndexedDB, sharp, Vercel; installable PWA |
| Live demo | kroma-aidrationbreak.vercel.app |
| Devpost | KROMA — Know Your Colors |
| GitHub | github.com/JosMart04/kroma |
Why shopping is hard when you're color blind
The National Eye Institute reports that about 1 in 12 men have color vision deficiency, and a 2025 peer-reviewed review puts the figure at up to 8% of men and about 0.5% of women of Northern European descent. The same review notes that many people remain unaware of their condition until adolescence or adulthood, so many affected shoppers have never been told why some choices feel unreliable.
The consequences show up in the wardrobe. Navy and dark purple, brown and dark green, or pink and gray can look like the same shade, so a shopper may buy a third version of a shirt they already own twice. The usual workaround is to ask a partner, a parent or a roommate whether an outfit works, every morning. The fallback is to buy only black, gray, navy and white.
KROMA starts from one sentence, which the team writes on Devpost: "A person with color vision deficiency cannot see the color of their own face, and therefore cannot make any decision that depends on it." Skin tone, undertone and redness can be measured as numbers rather than judged by eye, which is why an API that returns them can stand in for a sense the user does not have.
How the app works, step by step
KROMA never asks users which type of color vision deficiency they have: most don't know, and the question asks for the very answer they came for. Instead, the journey runs in four stages.
1. Measure how the user sees color. An arrangement test in the style of the Farnsworth D-15, combined with three adaptive staircases, estimates the type and severity of the deficiency. Every swatch in the test is numbered, so the interface still works for someone who perceives very little color.
2. Measure the colors the user cannot see. From one selfie, KROMA reads the colors of the skin, eyes, brows, lips and hair, plus the Fitzpatrick phototype and a redness score. Redness only makes sense alongside the phototype, so the two readings are treated as a pair. (For how skin tones and undertones are usually classified, see this skin tone chart guide.)
3. Check garments against that palette. The user photographs a garment in a store or at home. KROMA isolates it from the surface it is lying on, works out its color and a color name, and answers the follow-up questions: does it clash with the user's face, which pieces in the wardrobe does it go with, and is it too close to something they already own to tell apart.

KROMA's outfit builder works from garments the user has already photographed and saved. Screenshot: KROMA team, via Devpost.
4. Build and try on the result. Outfits are put together from saved pieces, and KROMA can also suggest complete looks with no clashing pair. Renders show the pieces on the user's own photo, so the picture answers how a garment looks on them while the color verdict next to it comes from the measurement.

An outfit put together from saved clothing, before it is rendered. Screenshot: KROMA team, via Devpost.

The try-on result, rendered on the user's own photo. Screenshot: KROMA team, via Devpost.
The YouCam APIs behind KROMA
KROMA calls ten YouCam endpoints from six server routes. Every call is made server-side, so the API key never reaches the browser. Each one follows the standard flow: upload the image with the File API, start a task, then poll the task until the result is ready.
| Stage | YouCam API | What it contributes |
|---|---|---|
| Face measurement | AI Facial Color Tones Analyzer, AI Photo Lighting | Reads the colors of the skin, eyes, brows, lips and hair, both as photographed and after the lighting on the face is normalized |
| Skin profile | AI Fitzpatrick Skin Type Analysis, AI Skin Analysis | Adds the phototype and the redness score |
| Garment isolation | AI Photo Background Removal | Separates the garment from the surface it was photographed on, so only garment pixels are measured |
| Try-on | AI Clothes Virtual Try-On, AI Scarf Virtual Try-On, AI Hat Virtual Try-On | Renders a garment, scarf or hat on the user's own photo |
| Outfits | The same try-on endpoints, chained | Each render becomes the body image for the next piece, so a full look is built step by step |
| Makeup check | AI Makeup Virtual Try-On + AI Skin Analysis | Renders a color corrector on the face, then measures the redness again on the same image |
| Orchestration | YouCam MCP server | Clothes try-on runs through the MCP server, with the same key as REST and sessions opened server-side |
The chaining is the part most worth noting. A single try-on call takes a body photo and a garment image; KROMA builds a full outfit by feeding the output of one call back in as the body for the next. The same idea lets a store show complete looks instead of single items, which is one of the "complete the look" tactics in our guide to increasing average order value in fashion.
KROMA's use of the MCP server is also a useful reference. If you want to try that route yourself, this walkthrough shows how to build an AI clothes try-on app with MCP.
Build decisions worth copying
The team's second guiding principle, as they write on Devpost, is that "our user is the one person who cannot audit our product." Several engineering choices follow from it, and they apply well beyond color vision.
Keep the key on the server. All ten endpoints are called from server routes, and nothing in the integration is exposed to the browser.
Let arithmetic, not a language model, decide the verdict. A garment's color comes from the app's own pixel measurements, its name from a fixed rule, and the clash verdict from local color-difference math. The reason is simple: most users would spot a convincing but wrong color name instantly; this user never would.
Track the raw score. KROMA stores the raw redness value rather than a display score, so before-and-after comparisons are always made on the same scale.
Make refusal a feature. When a photo's lighting is not good enough for a confident answer, the app says so on a dedicated screen instead of guessing. A value that was never measured is never shown as zero, because "not measured" and "measured, perfect" are different claims.
Check your own recommendation. KROMA computes a color corrector from the measured skin, renders it with AI Makeup Virtual Try-On, measures the redness again on the same image and reports the difference, including when the corrector doesn't help. An app that can tell a user not to buy something earns more trust than one that always says yes.
Work without accounts. There is no database and no login. The wardrobe lives in IndexedDB on the device, and the app opens empty, so every color on screen was measured from the user's own photos.
Design for people who can't rely on color. Every state in the interface is shown with an icon, text and shape, never with color alone.
What brands and product teams can learn
KROMA is an independent app built by a hackathon team, not a Perfect Corp. product. But the pattern behind it (measure the shopper, measure the product, then answer a decision instead of only showing a picture) carries over directly to fashion ecommerce.
Filter the catalog by what a shopper can actually tell apart. The team lists this as a next step, and it is the clearest retail use: a color filter based on a measured profile instead of color names like "taupe," "olive" or "stone," which are exactly the labels that fail this audience. It also fits naturally into the filters and color options covered in our product page optimization checklist for fashion.
Treat vague color names as a returns problem. When customers can't check a shade before buying, the shade becomes a reason to send the item back. Showing the item on the customer rather than on a studio model removes part of that guesswork, as explained in our guide to reducing returns in fashion ecommerce.
Pair the picture with a clear answer. A try-on render shows how a garment looks on the shopper. On its own, it doesn't answer "will this work with what I already own?" KROMA puts a measured verdict next to the image and says on screen where each part comes from. Teams adding AI virtual try-on to product pages or building other AI use cases in fashion retail can apply the same split.
Treat accessibility as a product feature, not a compliance task. This audience is large, often undiagnosed, and almost never served by standard merchandising tools.
No code required
Upload a photo and a garment to see the render behind KROMA's outfits.
Watch the demo
The team's three-minute walkthrough shows the color vision test, the face measurement, the garment check and the outfit try-on from start to finish.
KROMA — Know Your Colors demo video. Video: KROMA team, via YouTube.
FAQ
How do color blind people match clothes?
Most rely on coping strategies: building a wardrobe around neutrals, keeping matching pieces together, labeling garments, using fit and texture instead of color for interest, or asking someone else. These work, but they narrow the wardrobe, which is the gap KROMA set out to close.
What colors should color blind people avoid pairing?
For the common red-green types, pink and gray, dark blue and dark green, red and brown, and navy and purple are often confused. Which pairs cause problems depends on each person's type and severity, which is why KROMA measures it instead of assuming it.
Which YouCam APIs does KROMA use?
AI Facial Color Tones Analyzer, AI Photo Lighting, AI Fitzpatrick Skin Type Analysis, AI Skin Analysis, AI Photo Background Removal, AI Clothes, Scarf and Hat Virtual Try-On, AI Makeup Virtual Try-On and the File API, with clothes try-on running through the YouCam MCP server.
Is KROMA available as a product?
KROMA is the team's own independent project, submitted to the hackathon. It is not a Perfect Corp. product, and it is not distributed, partnered or endorsed by Perfect Corp. The live demo and source code are linked from the team's Devpost page.
Can I build something similar?
Yes. The same APIs are open to any developer: create an account in the API Console, generate a key, test the features in the API Playground, then integrate them through the REST API with the key kept on your server. For a step-by-step example, see how to build an AI clothes changer app with Cursor.
Conclusion
KROMA won first place by choosing a problem that color measurement is uniquely suited to solve, and by being careful never to claim more than a measurement could support. For teams building in fashion ecommerce, the lesson to take away is the architecture: measure the person, measure the product, chain the try-on renders, and let arithmetic rather than a model deliver the verdict.
For all five winners, see the YouCam API Skin AI & eCommerce VTO Hackathon recap, and for an earlier Perfect Corp. developer event, the DeveloperWeek hackathon recap.
Skin AI and apparel try-on
Create an account in the API Console and start with the APIs the winners used.
Editor's Note: KROMA is an independent project by its team, not a Perfect Corp. product. The KROMA name, logo and screenshots belong to the team and are shown with credit.
This article was edited and reviewed by the Perfect Corp. editorial team. Welcome to contact us or give us more suggestions.
Author: 


