Hanky Code
A color-coded system of bandanas worn in a back pocket to signal kink interests and roles, born in 1970s gay communities.
What it is
Long before dating apps and profile tags, there was the hanky code. Also called flagging, it's a way of signaling interests without saying a word: a bandana in a particular color sits in a back pocket, and both the color and the side matter. Traditionally the left pocket suggests a top or active role and the right a bottom or receptive one.
It grew up in gay leather and bar culture in the United States during the 1970s, when discretion mattered and a quiet signal could open a conversation safely. Printed charts eventually listed dozens of colors and patterns. Today it's part living tradition, part nostalgic fashion and part queer history lesson, and many leather and kink events still celebrate it, even though meanings vary by city and era.
Why people enjoy it
- It's a piece of community history worn on your body, linking people to earlier generations of queer and leather culture.
- A silent code is exciting: it lets people recognize each other across a crowded room.
- It makes interests visible before anyone speaks, which can make flirting feel easier.
- The charts are fun to explore, and some colors are delightfully tongue-in-cheek.
- Flagging is a stylish accessory with a story behind it.
How people explore it
- Learning the basics of a common chart, then wearing one hanky at a leather or Pride event.
- Using flagging as an opener: asking someone about their colors is a friendly, low-pressure icebreaker.
- Flagging at home with a partner as a playful way to suggest the mood for the evening.
- Collecting vintage charts and reading up on leather history.
- Visiting community archives and exhibitions about queer and leather culture.
Terminology
- Flagging
- Wearing a colored hanky to signal interests; you "flag" a color.
- Flagging left
- Wearing the hanky in the left back pocket, traditionally signaling a top or active role.
- Flagging right
- Wearing the hanky in the right back pocket, traditionally signaling a bottom or receptive role.
- Hanky chart
- A printed list matching colors and patterns to interests; versions differ widely.
A little history
Bandanas and keys had been used as quiet signals in various communities before, but the hanky code as most people know it took shape in American gay leather and bar culture during the 1970s. At a time when being openly gay could cost people their jobs or safety, discreet signals helped men find each other. Shops and bars printed charts, the list of colors grew, and the code became an icon of leather style. After the AIDS crisis changed the scene, flagging became more of a cultural symbol, and it has since been revived as fashion and heritage by queer people of all genders.
Consent & safety
Consent
A hanky is an invitation to talk, not a yes. Always ask and negotiate directly, and never assume someone's colors, or a fashionable bandana, means they have agreed to anything. Signals can open a conversation, but only words seal an agreement.
Safety tips
- Charts differ between cities and decades, so confirm meanings out loud rather than relying on color alone.
- Read the room: outside kink spaces, a bandana is usually just an accessory.
- Be respectful of the code's roots in gay men's leather culture when wearing it in other spaces.
- Talk about safer sexSafer sexThe everyday practices people use to lower the chance of passing on sexually transmitted infections or causing an unplanned pregnancy. It includes barriers…Read more about Safer sex , limits and safewordsSafewordA word or signal agreed in advance that stops play immediately, no questions asked. It's chosen to be something nobody would say by accident during a scene…Read more about Safeword as you would with any new partner.
- If you flag but aren't interested in someone who approaches, a polite "no thanks" is all that's needed.
Risks to know about
- Misunderstandings, since meanings vary and some people wear bandanas purely as fashion.
- Unwanted attention if a bandana is read as an invitation in a setting where it wasn't meant as one.
New to all this? Read our consent & safety basics.