The Hanky Code Explained: What the Colours Really Mean (Past & Present)
Flagging, leather bars, and the quiet language queer men built before dating apps.
Before Grindr. Before Scruff. Before you could list your favourite kinks in a dating profile.
There was a square of coloured fabric hanging out of your back pocket.
And if the right bloke noticed it, you might be in for a very interesting evening.
Welcome to the Hanky Code, one of the cheekiest, cleverest and most recognisable traditions in gay leather and kink culture.
But what do the colours actually mean? What's the difference between wearing your hanky on the left or right? And does anyone still use the code today?
Let's get into it.

What Is the Hanky Code?
The Hanky Code, also called the Handkerchief Code, is a system of coloured bandanas or handkerchiefs used to communicate sexual interests and preferred roles, particularly among gay men.
The practice is commonly known as flagging.
Different colours represent different interests, while the pocket you wear your hanky in traditionally indicates your preferred role.
The basic idea is simple:
Colour = what you're into.
Left or right pocket = your preferred role.
A red hanky might indicate an interest in fisting. Yellow traditionally signals watersports. Magenta, for those who know their way around a hairy armpit, represents pit worship.
And sometimes a little piece of fabric says more than an entire dating profile.
Left or Right? How Hanky Code Flagging Works
Traditionally, the Hanky Code follows a left/right convention.
Left pocket: Usually indicates the active, giving or top role.
Right pocket: Usually indicates the receptive, receiving or bottom role.
For example, according to the chart we're using:
-
Red on the left indicates someone interested in giving a fist.
-
Red on the right indicates someone interested in receiving one.
-
Magenta on the left signals someone offering their pits.
-
Magenta on the right indicates someone particularly interested in armpits.
But not every colour fits neatly into a top/bottom arrangement.
Some communicate attraction, availability, particular clothing preferences or other interests.
And just because someone's wearing a colour doesn't mean they've consented to anything.
A hanky is an invitation to communicate, not permission to skip the conversation.
Where Did the Hanky Code Come From?
The Hanky Code became widely associated with gay leather bars and cruising culture during the 1970s, particularly in American cities such as San Francisco and New York.
Its exact origins are debated.
Some accounts connect it to older traditions of wearing bandanas. Others point to the practice of wearing keys on different sides of the body to indicate sexual roles.
Whatever the precise starting point, the Hanky Code developed into a recognisable system within parts of gay male nightlife.
And it's worth remembering what that period was like.
Being openly gay could carry serious legal, social and personal consequences. Gay bars and cruising spaces offered opportunities for connection, but discretion could matter enormously.
Flagging provided a way to communicate interests without announcing them to everyone in the room.
It wasn't foolproof, and it wasn't universally understood.
But among people who knew the code, a coloured hanky could start a conversation without a word being spoken.
Hanky Code Colour Chart: What Do the Colours Mean?
Here's where things get colourful.
There isn't one universally agreed Hanky Code chart. Early versions were relatively simple, while later versions expanded to include increasingly specific sexual interests, clothing preferences and fetishes.
The meanings below follow the extended chart we use at Backroom Gear.
Some are widely recognised. Others are less common, historical or particular to extended versions of the code.
The Classic Hanky Colours
| Colour | Traditional meaning |
|---|---|
| Black | Heavy S/M |
| Grey | Bondage |
| Light blue | Oral sex |
| Navy blue | Anal sex |
| Red | Fisting |
| Yellow | Watersports / piss |
| White | Masturbation |
| Brown | Scat |
| Beige | Rimming |
| Charcoal | Latex / rubber fetish |
These are some of the colours most frequently associated with hanky-code discussions, although individual meanings and conventions can vary.
Pink, Purple and Other Kinky Colours
Things get more specific as we move beyond the classics.
| Colour | Meaning in our chart |
|---|---|
| Light pink | Dildo play |
| Dark pink | Tit torture |
| Mauve | Navel worship |
| Fuchsia | Spanking |
| Magenta | Armpit worship |
| Purple | Piercing |
| Lavender | Drag queens |
| Pale yellow | Spitting and drool |
| Mustard | Particularly well-endowed men (8 inches or more) |
| Gold | Threesomes |
| Coral | Toe worship |
| Apricot | Chubs and chubby chasers |
Yes, there's a colour specifically for armpits.
And another for belly buttons.
Nobody can accuse the gay community of lacking attention to detail.
Green, Brown and Other Specific Interests
| Colour | Meaning in our chart |
|---|---|
| Kelly green | Hustlers and clients |
| Hunter green | Daddies and men seeking daddies |
| Olive drab | Military play |
| Lime green | Food and dinner-related arrangements |
| Rust | Cowboys |
| Cream | Condom-related cum play |
| Tan | Cigar smoking and cigar fetish |
| Robin's egg blue | 69 |
| Medium blue | Cops |
| Airforce blue | Pilots and flight attendants |
| Teal blue | Cock and ball torture |
| Orange | Sexual availability or cruising |
Notice that Kelly green and hunter green mean completely different things.
The shade matters.
Patterns, Fabrics and Unusual Hanky Codes
Not every hanky code uses a plain colour.
Some extended charts include patterned fabrics and unusual materials.
| Colour or pattern | Meaning in our chart |
|---|---|
| Black and white check | Safer sex |
| Grey and black | Light S/M |
| Grey flannel | Suits |
| Black velvet | Making or appearing in videos |
| Red and white stripe | Shaving |
| Red and black stripe | Bears and bear admirers |
| Red and white gingham | Park sex |
| Brown lace | Uncut men |
| Brown satin | Cut men |
| White velvet | Voyeurism and exhibitionism |
| Holstein pattern | Milking |
| Leopard print | Tattoos |
| Teddy bear fabric | Cuddling |
| Paisley | Boxer shorts |
| Silver lamé | Celebrities |
| Mosquito netting | Outdoor sex |
Some extended charts also include codes relating to ethnicity, racial preferences, and other niche or controversial interests.
We've concentrated on the colours and patterns most useful to understanding the broader culture, rather than treating every historical entry as something commonly used today.
And if you've ever wondered whether someone really turned up at a leather bar flagging mosquito netting, we'd love to hear the story.
Why Does the Exact Shade Matter?
Because yellow and pale yellow aren't the same thing.
Neither are green and hunter green.
According to our chart:
Yellow: Watersports.
Pale yellow: Spitting and drool.
Kelly green: Hustlers and clients.
Hunter green: Daddy-related interests.
Magenta: Armpits.
Fuchsia: Spanking.
The distinction matters when you're using an expanded version of the code.
But remember, these aren't internationally regulated colour standards.
Nobody's standing outside the leather bar with a Pantone swatch book checking whether your hanky is the correct shade of purple.
The chart is a reference, not a rulebook.
Was the Hanky Code Really About Secret Communication?
Partly, yes.
But describing it purely as a secret language misses something important.
The Hanky Code wasn't just about hiding sexual preferences from outsiders.
It was also about making those preferences visible to people who shared the same culture.
In a crowded leather bar, you could spot someone with a particular hanky and have a reasonable idea of what they might be interested in.
It helped people find each other.
It could also be playful, provocative and deliberately visible.
After all, a bright yellow bandana hanging from your back pocket isn't exactly camouflage.
And while flagging could offer a degree of discretion, it never guaranteed safety or anonymity.
Do People Still Use the Hanky Code Today?
Absolutely, although its role has changed.
You'll still encounter hankies at leather events, fetish parties, Pride celebrations and in some cruising spaces.
But these days, a hanky might be worn for several reasons.
Someone might be actively flagging a particular interest.
They might be celebrating their connection to leather culture.
They might simply love the history, the colours or the aesthetic.
And some people wear coloured bandanas without knowing anything about the code.
Which is why you probably shouldn't assume the bloke with a yellow bandana is announcing his weekend plans.
Ask first. Always.
From Hankies to Happy Little Pigs
One of our favourite things about the Hanky Code is how much personality you can pack into a single colour.
Take a cheerful little cartoon pig.
Draw him in yellow, and suddenly he's a Happy Little Piss Pig.
Give him a red outline, and he's a Happy Little Fist Pig.
Magenta? He's a Pit Pig.
The joke works because the colour carries the meaning.
To someone unfamiliar with hanky culture, it's just a cute pig.
To someone who knows the code, it's a very different conversation.
That's the idea behind our Happy Little Pig collection.
A little bit cute.
A little bit filthy.
And a nod to the queer history that inspired it.
Why the Hanky Code Still Matters
The Hanky Code is more than a collection of colours and sexual preferences.
It's part of the history of how queer people found each other, built communities and developed their own ways of communicating.
Before smartphones and dating apps made it possible to advertise exactly what you're into, people found other ways.
Sometimes that meant a leather jacket.
Sometimes it meant a particular bar.
And sometimes it was nothing more than a square of fabric hanging from a back pocket.
Today, flagging can be about identity, nostalgia, sexual expression or simply having a bit of fun with queer history.
The meanings have evolved. The charts have expanded. And not everyone agrees on every colour.
But the tradition remains recognisable.
Final Word: Wear Your Colours
Whether you're a leather daddy, a pit pig, a rubber lover or someone who's just discovered what a yellow hanky means, the Hanky Code offers a fascinating glimpse into gay culture.
It's cheeky, practical, sometimes wonderfully ridiculous, and unmistakably queer.
And while it might not be the primary way people find each other anymore, it's a tradition worth remembering.
Because long before we could put our kinks in a profile, we were wearing them in our pockets.
Some things never go out of style. 🖤
Shop the Hanky Code
Wear your flag. Own your kink. Browse our collections by colour:
-
- Navy blue → fucking - browse kink gear
- Black → S/M - shop leather pride
- Light blue → oral / cruising gear
- Red → fisting - the red flag collection
- Yellow → watersports - the yellow flag collection
- Green → daddy - shop daddy gear
- Grey → bondage - shop bondage
- White → cum - the white flag collection
Â