Favorites

Social Media Colors

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

About these colours

How many times have you started a project and wondered what colour a social media site uses? This page lists the main brand colours of popular social networks and websites, in both HEX and RGB format, ready to copy into your CSS.

Brands refresh their colours from time to time. Facebook, LinkedIn, Pinterest and Instagram have all changed theirs since this page was first published, so we've updated every entry, and noted the old colours where they changed.

Good to know: each swatch shows "Aa" in white or dark text, whichever is easier to read on that colour. It's a quick guide to which text colour to use if you put words on a brand-coloured button.

The RGB values use the modern space-separated format, such as rgb(8 102 255). If you prefer the older comma format, rgb(8, 102, 255) works exactly the same.

Social networks

BrandSwatchHEXRGB
FacebookAa#0866FFrgb(8 102 255)
X (formerly Twitter)Aa#000000rgb(0 0 0)
Instagram
Single-colour version; the full logo uses a gradient
Aa#E4405Frgb(228 64 95)
ThreadsAa#000000rgb(0 0 0)
LinkedInAa#0A66C2rgb(10 102 194)
PinterestAa#E60023rgb(230 0 35)
TikTok
The logo adds cyan and pinkish-red accents
Aa#000000rgb(0 0 0)
BlueskyAa#0560FFrgb(5 96 255)
MastodonAa#6364FFrgb(99 100 255)
RedditAa#FF4500rgb(255 69 0)
TumblrAa#35465Crgb(53 70 92)
SnapchatAa#FFFC00rgb(255 252 0)

Video and music

BrandSwatchHEXRGB
YouTubeAa#FF0000rgb(255 0 0)
VimeoAa#1AB7EArgb(26 183 234)
TwitchAa#9146FFrgb(145 70 255)
Spotify
Previously #1DB954
Aa#1ED760rgb(30 215 96)

Creative, developer and publishing sites

BrandSwatchHEXRGB
GitHubAa#181717rgb(24 23 23)
DribbbleAa#EA4C89rgb(234 76 137)
BehanceAa#1769FFrgb(23 105 255)
Flickr
Flickr also uses a blue alongside the pink
Aa#FF0084rgb(255 0 132)
WordPressAa#21759Brgb(33 117 155)
MediumAa#000000rgb(0 0 0)
BloggerAa#FF5722rgb(255 87 34)
QuoraAa#B92B27rgb(185 43 39)
Yahoo
Previously #7B0099
Aa#6001D2rgb(96 1 210)
RSS
No official colour; orange is traditional
Aa#FFA500rgb(255 165 0)

Messaging and community

BrandSwatchHEXRGB
WhatsAppAa#25D366rgb(37 211 102)
TelegramAa#0088CCrgb(0 136 204)
DiscordAa#5865F2rgb(88 101 242)

Know of a site that should be on this list? Please let us know through our contact form.

Changed and closed networks

If you're updating an older website, you may still have some of these colours in your stylesheets:

BrandOld colourWhat changed
Facebook#3b5998Now a brighter blue, #0866FF
Twitter#00acedRenamed X in 2023, with a black brand colour
LinkedIn#007bb6Now #0A66C2
Pinterest#cb2027Now #E60023
Instagram#517fa4The old blue was replaced by the colourful gradient logo in 2016
YouTube#bb0000Now a brighter red, #FF0000
Google+#dd4b39Closed in 2019
Vine#00bf8fClosed in 2017
StumbleUpon#eb4823Closed in 2018
Forrst#5b9A68Closed
Foursquare#0072b1The City Guide app closed in 2024; the Swarm app continues

Tip: links to closed networks are worth removing from your site. They no longer lead anywhere useful, and they can make a website look out of date.

Using brand colours in your CSS

Store them as custom properties

Rather than repeating HEX codes throughout your stylesheet, store each colour once in a custom property (a CSS variable). If a brand changes its colour again, you only need to update one line:

:root {
  --facebook: #0866FF;
  --x: #000000;
  --instagram: #E4405F;
  --threads: #000000;
  --linkedin: #0A66C2;
  --pinterest: #E60023;
  --tiktok: #000000;
  --bluesky: #0560FF;
  --mastodon: #6364FF;
  --reddit: #FF4500;
  --tumblr: #35465C;
  --snapchat: #FFFC00;
  --youtube: #FF0000;
  --vimeo: #1AB7EA;
  --twitch: #9146FF;
  --spotify: #1ED760;
  --github: #181717;
  --dribbble: #EA4C89;
  --behance: #1769FF;
  --flickr: #FF0084;
  --wordpress: #21759B;
  --medium: #000000;
  --blogger: #FF5722;
  --quora: #B92B27;
  --yahoo: #6001D2;
  --rss: #FFA500;
  --whatsapp: #25D366;
  --telegram: #0088CC;
  --discord: #5865F2;
}

.share-facebook {
  background-color: var(--facebook);
  color: #ffffff;
}

Check contrast before adding text

Some brand colours are bright, and white text on them can be hard to read. Snapchat's yellow, Spotify's green and WhatsApp's green, for example, all need dark text. Accessibility guidelines recommend a contrast ratio of at least 4.5 to 1 for normal text. The "Aa" in each swatch above shows which text colour works better.

Follow each brand's guidelines

Brand colours and logos are trademarks. Most networks publish brand guidelines that explain how their logo and colours may be used, such as which versions of the logo are allowed and how much space to leave around it. They're also the best place to check for the latest official colours, since brands can change them at any time.

Wrapping up

Bookmark this page for the next time you need a brand colour. Copy the HEX or RGB value you need, store it in a custom property, and check the contrast before adding text, and your social buttons will look right and stay readable.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee