Gay bandana color meanings traditionally refer to the hanky code, a historical system in which people used colored handkerchiefs to communicate sexual interests, relationship dynamics, or fetish interests without saying them openly. The practice became especially associated with gay men’s leather, cruising, and nightlife communities in the United States during the 1970s.
Different communities and historical sources used somewhat different color charts, so no single list represents a universal code. Today, some people still recognize the hanky code as queer cultural history, while others wear bandanas simply as fashion or personal expression.
Quick answer:
colors such as black, blue, red, yellow, and green have documented historical meanings, but context always matters.

What Is the Gay Bandana Code?
The gay bandana code, also called the hanky code or handkerchief code, was a form of nonverbal communication.
People displayed colored handkerchiefs—often by placing them in a back pocket—to signal particular sexual interests or preferences. The practice offered a discreet way to communicate in environments where openly discussing sexuality could create social, legal, or personal risks.
The code became particularly visible in gay leather and cruising cultures in the United States during the 1970s. Historical accounts differ about its exact origin, but San Francisco and New York frequently appear in discussions of its development.
What Is the Hanky Code?
The hanky code assigns particular meanings to different colors.
For example, historical versions associate:
- Black with S&M
- Dark blue with anal sex
- Light blue with oral sex
- Red with fisting
- Yellow with watersports
- Orange with an “anything goes” attitude
These associations come from historical versions of the code rather than a universally standardized modern system.
When Did the Hanky Code Begin?
The modern hanky code became particularly prominent during the 1970s.
Accounts of its origin vary. One frequently cited explanation connects the practice with San Francisco’s leather and gay nightlife communities, while another story places an early version of the idea in New York. Because the historical record contains competing accounts, it is more accurate to describe the code as a subcultural practice that developed rather than attribute it confidently to one inventor.
Why Did Gay Men Use Colored Bandanas?
The code provided a discreet communication system.
During periods when homosexuality faced significant stigma and discrimination, people could use colors and clothing placement to communicate with others who understood the system without making explicit statements in public.
The code also helped people identify potential partners with shared interests within leather, bar, cruising, and nightlife environments.
How Did the Code Work?
A person could choose a particular color and wear it in a recognizable location.
The color communicated one type of interest, while pocket placement could traditionally communicate a role or preference.
However, people did not always follow the system consistently. A bandana could also serve purely decorative or practical purposes.
What Did the Left and Right Pocket Mean?
A commonly documented convention associated the:
- Left side with an active, dominant, or top role.
- Right side with a passive, submissive, or bottom role.
This convention was not universal. People could reverse the system, ignore it, or wear a bandana without intending to communicate anything sexual.
Gay Bandana Color Meanings Chart
The following chart summarizes commonly documented historical hanky-code associations:
| Bandana Color | Historical Hanky-Code Association |
|---|---|
| ⚫ Black | S&M |
| 🔵 Dark Blue | Anal sex |
| 🔵 Light Blue | Oral sex |
| 🟤 Brown | Scat |
| 🟢 Green | Hustler/prostitution |
| 🩶 Gray | Bondage |
| 🟠 Orange | Anything goes |
| 🟣 Purple | Piercing |
| 🔴 Red | Fisting |
| ⚪ White | Masturbation |
| 🟡 Yellow | Watersports |
These meanings reflect historically documented versions of the hanky code. They should not be treated as a universal contemporary dictionary of gay bandana colors.
Black Bandana Meaning
A black bandana has historically represented S&M (sadomasochism) in commonly circulated hanky-code charts.
The association connects black with leather and BDSM-oriented subcultures.
Historical Context
Black leather already held a strong visual connection with gay leather culture, so the color became particularly recognizable within those communities.
A person wearing black today, however, may simply like the color or fashion style. The historical meaning requires cultural context.
Dark Blue Bandana Meaning
A dark blue bandana has traditionally represented anal sex in commonly cited hanky-code lists.
The code could communicate an interest without requiring an explicit conversation.
Pocket Position
Under the traditional convention:
- Left: active/top
- Right: passive/bottom
Again, this convention varied among individuals and communities.
Light Blue Bandana Meaning
A light blue bandana has historically represented oral sex.
The color belongs to the broader system of discreet visual signaling that developed within gay cruising culture.
Historical Interpretation
As with other hanky-code colors, the meaning depended on whether people in the surrounding community actually recognized and followed the code.
Modern wearers may use light blue simply because they like the color.
Brown Bandana Meaning
A brown bandana has historically been associated with scat, referring to sexual interest involving feces.
This represents one of the more specialized fetish associations in historical hanky-code charts.
Because the meaning is highly context-dependent, people should not automatically assign this interpretation to someone wearing brown.
Green Bandana Meaning
A green bandana has traditionally been associated with a hustler or male prostitution in commonly documented versions of the hanky code.
The association reflects the historical connection between bandana signaling and gay nightlife or cruising environments.
The meaning does not automatically apply to every green bandana worn today.
Gray Bandana Meaning
A gray bandana has historically represented bondage.
The association fits the broader connection between the hanky code and leather, BDSM, and fetish communities.
Cultural Context
Gray could communicate an interest in bondage within environments where people understood the code. Outside those settings, the same bandana may have no sexual significance.
Orange Bandana Meaning
An orange bandana has traditionally been associated with “anything goes.”
This broad meaning distinguishes orange from colors that communicated a more specific sexual interest.
The interpretation could still vary depending on the community and the historical chart being used.
Purple Bandana Meaning
A purple bandana has historically represented piercing.
This association demonstrates how the hanky code extended beyond conventional sexual acts to include particular body-modification or fetish interests.
As with every hanky-code color, historical meaning does not guarantee contemporary intent.
Red Bandana Meaning
A red bandana has traditionally represented fisting in commonly cited hanky-code charts.
The color became one of the better-known examples of the system and appears frequently in discussions of queer leather history.
Why Context Matters
A red bandana can have countless meanings outside the hanky code. Someone may wear it for fashion, cultural reasons, a political event, or simple personal preference.
Therefore, color alone cannot establish someone’s sexual interests.
White Bandana Meaning
A white bandana has historically been associated with masturbation.
This association appears in several commonly circulated versions of the hanky code.
However, contemporary use of white bandanas does not necessarily carry this meaning.
Yellow Bandana Meaning
A yellow bandana has traditionally represented watersports, a term referring to sexual activities involving urine.
The association belongs to the fetish-oriented portion of the historical hanky code.
Because color meanings varied between communities, readers should treat this as a historical association rather than an automatic interpretation of a yellow bandana.

What Does Left Pocket vs. Right Pocket Mean?
Pocket placement traditionally added another layer of meaning to the gay bandana color meanings.
Left Pocket
Historically, wearing the bandana on the left often indicated an active, top, or dominant role.
Right Pocket
Wearing it on the right traditionally indicated a passive, bottom, or submissive role.
Is the Rule Universal?
No.
The convention varied between communities and individuals. Some people reversed the meanings, while others ignored pocket placement completely.
Consequently, color and position should never be treated as definitive evidence of someone’s sexual preferences or identity.

History of Gay Bandana Color Meanings
Early Origins and Bandana Culture
Handkerchiefs had practical uses long before the hanky code emerged. The modern sexual signaling system developed within particular gay subcultures rather than appearing as a universally organized practice.
The 1970s and the Modern Hanky Code
The 1970s played an important role in popularizing the modern hanky code.
Gay leather communities and nightlife spaces created environments where discreet visual communication could help people identify others with similar interests.
San Francisco Leather Culture
San Francisco became an important center of American gay leather culture, and the city’s nightlife helped spread awareness of the code.
The practice became associated with leather bars, cruising spaces, and other social environments.
New York Cruising Culture
New York also appears in historical accounts of the hanky code’s development.
Different cities and communities could interpret colors differently, which helps explain why historical charts do not always agree.
Bob Damron’s Address Book
Gay travel and bar guides helped members of the community navigate nightlife environments.
Such publications contributed to a broader culture of coded communication and information sharing.
The Role of Leather Stores and Publications
Leather businesses and community publications helped make the visual language more recognizable within relevant subcultures.
The 1980s and Popular Awareness
The code became increasingly visible beyond specialized leather communities during the 1980s.
Popular culture, nightlife, and films helped introduce the concept to audiences unfamiliar with its origins.
Gay Bandana Code vs. LGBTQ+ Pride Colors
The hanky code and Pride colors serve very different purposes.
Hanky Code
The hanky code historically communicated:
- Sexual interests
- Fetishes
- Relationship dynamics
- Preferred roles
It primarily functioned as a subcultural communication system.
Pride Flags
Pride flags generally represent:
- Sexual orientations
- Gender identities
- LGBTQ+ communities
- Visibility
- Solidarity
- Pride and equality
A Pride flag’s colors therefore communicate identity or community symbolism rather than the specific sexual practices traditionally associated with hanky-code colors.
Are Gay Bandana Color Meanings Universal?
Differences Between Cities
Different cities and nightlife communities could develop different interpretations.
Differences Between Historical Periods
The meaning of a color could change over time as communities adopted new conventions.
Differences Between Leather Communities
Leather and fetish communities did not necessarily use identical color lists or conventions.
Differences in Online Color Charts
Modern websites frequently reproduce hanky-code charts, but some lists contain additional colors, different definitions, or simplified explanations.
Why You Should Not Assume Someone’s Meaning
A person may wear a bandana because they like the color, want a particular fashion aesthetic, participate in a cultural event, or have another personal reason.
The historical hanky code provides context, not certainty.

Gay Bandana Code in Popular Culture
Cruising and the Hanky Code
The 1980 film Cruising helped bring aspects of gay leather and cruising culture to a broader mainstream audience.
The film also contributed to public awareness of coded communication within those communities.
Leather Culture
Leather communities played an important role in maintaining and developing the hanky code as a subcultural language.
Pride and Queer History
Today, the hanky code also has historical importance because it illustrates how LGBTQ+ communities developed discreet methods of communication during periods of intense stigma.
Modern Fashion and Reinterpretation
Contemporary wearers can use bandanas as fashion accessories without intending to participate in the traditional code.
Are Gay Bandana Colors Still Used Today?
The hanky code has not disappeared completely, but its contemporary significance varies.
Some people within leather and fetish communities continue to recognize traditional colors. Others encounter the code primarily through queer history, online communities, fashion, or popular culture.
Dating apps and digital communication have also reduced the practical need for clothing-based signaling.
As a result, a bandana’s modern meaning often depends heavily on where it appears, who wears it, and the surrounding social context.
Common Mistakes About Gay Bandana Meanings
Assuming Every Color Has One Universal Meaning
Historical charts differ, so no single chart should be treated as universally authoritative.
Ignoring Pocket Position
Traditional interpretations sometimes depended on whether someone wore the bandana on the left or right.
Treating an Old Chart as a Modern Universal Standard
The historical hanky code does not automatically describe how every contemporary LGBTQ+ person uses bandanas.
Assuming Every Bandana Signals Sexual Preferences
Many people wear bandanas purely for fashion, comfort, or personal style.
Confusing Hanky-Code Colors With Pride Colors
The two systems developed for different purposes.
Assuming a Person’s Identity From a Bandana Alone
A bandana cannot reliably establish someone’s sexual orientation, identity, relationship status, or sexual preferences.

Gay Bandana Color Meanings: Quick Reference
For historical reference, commonly documented associations include:
- Black: S&M
- Dark blue: Anal sex
- Light blue: Oral sex
- Brown: Scat
- Green: Hustler/prostitution
- Gray: Bondage
- Orange: Anything goes
- Purple: Piercing
- Red: Fisting
- White: Masturbation
- Yellow: Watersports
These meanings represent historical hanky-code associations, not a universal modern code.
FAQs:
What do gay bandana colors mean?
Gay bandana colors historically formed part of the hanky code, a visual communication system associated particularly with gay leather and cruising communities. Different colors represented different sexual interests or fetish interests.
What is the gay hanky code?
The gay hanky code is a historical system that used colored handkerchiefs and sometimes pocket placement to communicate sexual interests and preferred roles discreetly.
What does a black bandana mean in gay culture?
In commonly documented hanky-code charts, black traditionally represents S&M.
What does a blue bandana mean?
The meaning depends on the shade. Dark blue has traditionally represented anal sex, while light blue has represented oral sex.
What does a red bandana mean?
In historical hanky-code charts, red represents fisting.
What does a yellow bandana mean?
A yellow bandana has traditionally represented watersports in commonly cited versions of the hanky code.
What does a green bandana mean?
A green bandana has historically been associated with a hustler or male prostitution.
What does a purple bandana mean?
A purple bandana has traditionally represented piercing.
What does a brown bandana mean?
A brown bandana has historically represented scat in commonly cited hanky-code charts.
What does a bandana in the left pocket mean?
Traditionally, a bandana worn on the left could indicate an active, top, or dominant role.
What does a bandana in the right pocket mean?
Traditionally, the right side could indicate a passive, bottom, or submissive role.
Is the gay bandana code still used?
Some people, particularly within leather and fetish communities, may still recognize or use it. However, contemporary usage varies substantially, and many people wear bandanas without any hanky-code meaning.
Are gay bandana colors universal?
No. Historical meanings varied by community, location, era, and individual interpretation.
What is the difference between the hanky code and Pride colors?
The hanky code historically communicated sexual interests and roles, whereas Pride colors generally communicate LGBTQ+ identities, communities, visibility, and solidarity.
Conclusion
Gay bandana color meanings provide an interesting window into LGBTQ+ and leather-community history. The hanky code transformed ordinary handkerchiefs into a discreet visual language, with colors such as black, blue, red, yellow, green, and purple carrying particular historical associations. Pocket placement could add another layer of meaning, traditionally distinguishing active and passive roles.
However, the hanky code was never completely universal. Different communities used different charts, and contemporary bandana wearers may have no connection to the traditional system at all. The most accurate way to understand a bandana is therefore to consider its historical context, community, setting, color, and placement together rather than assuming that one color definitively reveals someone’s identity or preferences.










