The Handkerchief Code: Colours, Sides and How It Is Used Today
By Aria Wilde · updated 2026-11-05 · 5 min read

A bandana in a back pocket can say a lot without a word. The hanky code grew out of gay male culture and has been adopted widely in leather, kink and fetish communities. It is part history, part fashion and part flirtation. It is also not a rulebook, which is the first thing worth knowing.
What the hanky code is
The code is a set of colours, worn as a handkerchief or bandana, that signal what a person is interested in and in which role. Two things carry meaning: the colour and the side it is worn on. A third, the fabric or pattern, sometimes adds nuance (plain cotton, denim, paisley and so on).
Where it comes from

Accounts vary, but the broad story is this. Bandanas were part of working clothing and picked up as a signal in the gay scene in the mid-twentieth century. Around 1971 a San Francisco shop published cards listing colours, and by around 1980 a popular travel address book printed an annual chart, which spread the system. Some colour meanings, such as red and blue, are older than those charts. Because the lists were commercial and local, they never merged into a single standard.
Left and right
The most widely repeated convention:
- Left side: the active, top or dominant role.
- Right side: the passive, bottom or submissive role.
- Around the neck or in both pockets: versatile, a switch or open to either.
The same logic applies to wearing the bandana as a headband or on an arm in some contexts. Many people ignore the sides or use them differently, so treat the rule as a convention, not a law.
Colours most people agree on
| Colour | Common meaning |
|---|---|
| Black | Heavy BDSM or dominance (left) |
| Red | Fisting, very intense play (left active, right passive) |
| Light blue | Oral interest |
| Dark blue | Anal interest |
| Yellow | Watersports |
| Brown | Scat or leather-related, varies by chart |
| Grey | Bondage |
| Orange | Open to anything or a "what do you want" signal |
| Green | Hustler (left), buyer (right), in some charts |
| Purple or lavender | Piercing or a different community meaning |
| White | Masturbation or "ice"/chains in some lists |
Many longer lists exist, including colours for navel fetish, foot fetish and more. The longer the list, the less consistently it is used. Different cities, scenes and decades attach different meanings to the same colour.
How people use it today
- Leather and kink events. Often worn as part of an outfit and a nod to the community's history.
- Conversation openers. A colour gives you something to ask about: "I noticed your grey, are you into bondage?"
- Fashion or costume. Plenty of people wear a bandana with no intended message.
- Symbolic tradition. At leather gatherings, hankies are a way of honouring the lineage.
Online communities have mostly replaced the code with profile fields and explicit messages, but the colours remain popular at in-person events and as a nostalgic shorthand.
Etiquette

- A hanky is an invitation to ask, not a promise. Wearing a colour does not mean agreeing to anything.
- Always check. Confirm the meaning with the person. Conventions vary.
- No means no. If someone declines, accept and move on.
- Don't assume. A bandana in a pocket may just be a bandana.
- Respect the history. The code comes from a community that used it to find each other when openness was dangerous.
Reading a hanky in context
A colour alone is rarely enough. Look at where the person is, who they are talking to and what else they are wearing. At a leather weekend, a black bandana on the left is read very differently from the same bandana at a street festival. Look for how the wearer behaves: someone who is open to talking will often glance at others, hold eye contact for a second and respond warmly to a comment. Someone who is not will keep moving. Treat the bandana as one clue among several, never as a signal you act on alone.
Making your own hanky

If you want to join in, choose your colour with care. Pick one that matches an interest you are actually comfortable discussing, because people may ask. Cotton bandanas are cheap and easy to find; fold it into a long strip and tuck it into the back pocket so a third hangs out. Decide in advance how you will respond to questions, including how you will say no politely. Some people carry two, one for the interest and one for their role.
Is it relevant to sissy and femdom play?
The code is not tied to any role or identity. A sissy, a dominant woman or a submissive man can all use colours as a playful nod. If you want to try it, pick one or two colours that match your interests and treat them as a prompt for conversation. In a couple, you can invent your own private code: a particular scarf tied on the bedpost means "tonight is for play." The kink yes/no/maybe list is a fuller way to share interests, and the glossary page safeword and the traffic light system cover the signals used during play itself.
A private "hanky code" for couples

Signals do not have to be historic to work. Some couples use:
- A coloured ribbon on a door handle: green for "play is welcome", red for "not tonight".
- A scarf on a chair: "ask me about my day first".
- A coloured tag on a keyring: for a chastity key holder, a hint of "check-in time".
The advantage is that they work without a spoken request. Agree meanings in advance and review them occasionally. The chastity and denial path has some ideas that fit this style, and chastity rules list has more.
Common misunderstandings
- "There is an official chart." There is not. Meanings differ by place and era.
- "Left is always dominant." Mostly, but many people ignore it.
- "A colour is a contract." It is an opening line, nothing more.
- "Only for gay men." The code began there; wider kink communities use it too, and the origin deserves respect.
Summary
Treat the handkerchief code as a living tradition: a few core colours, a left/right habit and a lot of local variation. Use it to start conversations, ask before assuming, and respect the community that built it.
Frequently asked questions
What does the handkerchief code mean?
It is a system of coloured bandanas worn in a pocket to signal sexual or kink interests. The colour shows the interest, and the side shows the role: left is traditionally active or dominant, right is passive or submissive.
What does a bandana on the left or right mean?
By convention, left means top, active or dominant and right means bottom, passive or submissive. Around the neck or in both pockets suggests versatility. Many people ignore the sides, so confirm by asking.
Is there an official hanky code chart?
No. Different charts have been published over the decades and meanings vary by city and scene. A handful of colours are widely agreed on, but longer lists are used inconsistently.
Do people still use the hanky code?
Yes, mostly at in-person leather and kink events and as a nostalgic or playful signal. Online profiles have taken over most of the practical role.
How do I use hanky colours politely?
Treat a colour as an invitation to talk, never as consent. Ask what it means to the wearer, accept no without argument and avoid assuming anything from a bandana alone.
Listen next
Keep reading
- Kink Yes No Maybe List: 150 Activities to Sort as a Couple
A kink yes no maybe list is a checklist where each partner marks every activity as yes, no or maybe, then compares answers. Below are 150 activities g - Chastity Rules: 50 Examples and How to Choose a Starter Set
Chastity rules are written agreements about what the locked partner does, reports and may never do. Fifty examples below are grouped into hygiene, beh - BDSM Negotiation Checklist: Step-by-Step Guide Before Any Scene
BDSM negotiation is a conversation held before a scene to agree on wants, limits, health, safewords, aftercare and how you will debrief. Work through - Pegging Yes/No/Maybe List: 40 Items to Mark and Compare
A pegging yes/no/maybe list has each partner privately mark Y, N or M for 40 activities covering toys, positions, talk, warm-up, finish and aftercare. - How to Tell Your Partner About Your Kinks (Without Panic)
To tell your partner about your kinks, choose a calm moment outside the bedroom, start with a low-stakes opener, share one kink at a time, and explain
