Hanky code
Hanky code, also called the handkerchief code, bandana code or flagging, uses coloured handkerchiefs to signal sexual interests and preferred roles. It is associated with gay cruising, leather culture, BDSM and fetish nightlife.
Before hookup apps, a coloured bandana in a back pocket could tell someone across a leather bar what you were looking for. The colour indicated an interest; the pocket suggested your role.
It was never a universal language. Different charts, cities and communities use different meanings, especially for unusual shades.
A hanky signals interest, not permission to touch. Ask before assuming someone is flagging, and ask again before anything happens.
Contents
Hanky Code: Left Pocket vs Right Pocket
The traditional starting point is:
Left pocket: the top, active or dominant role associated with the colour.
Right pocket: the bottom, receptive or submissive role associated with the colour.
These labels depend on the activity. Being a top does not automatically mean being a BDSM dominant, and being a bottom does not automatically mean being submissive.
Light blue is a useful example: many traditional charts put wanting a blowjob on the left and giving a blowjob on the right. A blanket "left gives, right receives" rule would get that wrong.
Some people flag both sides or use other placements to indicate flexibility. A bandana around the neck is not a universally agreed signal for versatile or switch.
Hanky Code Colour Chart
The following meanings appear in established leather-scene charts. Treat the chart as a conversation starter rather than an exact menu.
| Colour | Interest | Left pocket | Right pocket |
|---|---|---|---|
| Dark blue / navy | Anal sex | Top | Bottom |
| Light blue | Oral sex | Wants a blowjob | Gives a blowjob |
| Red | Fisting | Active role | Receptive role |
| Yellow | Watersports | Giving role | Receiving role |
| Black | S&M | Top / dominant role | Bottom / submissive role |
| Grey | Bondage | Ties or restrains | Wants to be restrained |
| Light pink | Toy play | Uses toys on a partner | Receives toy play |
| Dark pink | Nipple or breast play | Giving role | Receiving role |
| Beige | Anilingus / rimming | Giving role | Receiving role |
| Brown | Scat-related interests in some charts | Active role | Receptive role |
| Coral | Foot worship | Wants feet worshipped | Wants to worship feet |
| Purple | Piercing-related play | Giving role | Receiving role |
Colours With Less Consistent Meanings
Orange often appears as "anything goes" on the left. Some charts give orange on the right a different meaning, including "not now." Do not assume both sides mean the same thing.
White is associated with masturbation or mutual masturbation, but charts differ over the exact left/right wording.
Green shades can carry different meanings. Some charts connect particular greens with commercial arrangements, while olive drab is associated with uniforms.
Shade matters. Light blue is not navy, and light pink is not dark pink. If the colour is unclear under club lighting, ask.
History of the Handkerchief Code
The modern hanky code became established in gay leather culture during the early 1970s. Its exact origin is disputed, with several stories linking its development to earlier clothing signals and particular businesses or communities.
It offered a way to indicate interests without opening with a detailed sexual conversation. Handkerchiefs, keys and other accessories became part of a recognisable leather-bar language.
Over time, charts expanded to include more colours, fabrics and specialist interests. The longer lists are less consistent than the basic colours.
The code also became part of queer fashion and cultural history. Wearing a colour today may express an interest, acknowledge that history or simply be a clothing choice.
Where People Use the Hanky Code
Leather Bars and Fetish Events
Leather bars and fetish gatherings provide the clearest context for flagging. A coloured hanky may be deliberate, but it still needs a conversation.
Leather clothing, harness trim and other accessories can also reference hanky-code colours.
See Leather subculture and Fetish fashion.
Gay Cruising
The code is associated with gay cruising and meeting potential partners in person.
Do not assume every man with a bandana is looking for sex. Someone may have bought it for the colour or be carrying it for an ordinary purpose.
A simple "Are you flagging?" clears up more than guessing.
Dark Rooms and Sex Clubs
In a dark room or sex club, lighting can make shades difficult to identify. Colours do not explain someone's limits, protection preferences or willingness to interact.
Flagging cannot replace communication. Follow the venue's rules and respect anyone who declines.
Modern Queer and Kink Fashion
Flagging is not restricted to gay men. Other queer and kink communities have adopted or adapted the colours.
Some people use hankies; others reference the code through clothing or accessories. The intended meaning may be personal or specific to their community.
Ask what the wearer means rather than declaring that your chart is the only correct one.
Hanky Code Etiquette
Flagging Is Not Consent
A red, black or navy hanky does not give you permission to grab someone. It signals a possible interest, not agreement to a particular encounter.
Consent can be limited, changed or withdrawn.
Ask What the Colour Means
"Are you flagging?" is a straightforward opener. If the answer is yes, ask what the colour and placement mean to that person.
That is more useful than arguing about a chart downloaded from another country.
Agree on the Actual Encounter
A colour names a broad interest. It does not settle the details.
Discuss boundaries, protection and the activity itself. For BDSM sessions, agree on a safeword or another workable stop signal where appropriate.
Respect a Refusal
Matching colours do not mean matching partners. Someone can share your interest and still have no interest in you.
Accept the answer and move on.
Does the Hanky Code Still Matter?
It remains part of leather and queer culture, even though apps have changed how people meet. It can be a useful signal in the right setting, a fashion reference or a link to the scene's history.
The practical rule is simple: notice the hanky, then talk to the person. No colour chart can do the whole job for you.
See Also
Leather subculture | Leather bar | Fetish fashion
Gay cruising | Cruising | Gay bar | Gay sauna
Top (sexual role) | Bottom (sexual role) | Versatile (sexual role)
Domination | Submission | Power exchange
Bondage | Sadomasochism | Safeword
Foot fetish | Nipple fetish | Uniform fetish
Latex fetish | Rubber fetish | Leather fetish