Skip to content

Tailwind CSS v4 default palette

Tailwind taupe-600: #5B4F4B

In Tailwind CSS v4, taupe-600 is defined as --color-taupe-600: oklch(43.8% 0.017 39.3), which is #5B4F4B in hex and rgb(91, 79, 75): a dark, grayish brown.

taupe-600#5B4F4B

In OKLCH, taupe-600 has a lightness of 43.8%, chroma 0.017 and hue 39.3°.

The value fits inside sRGB, so the hex #5B4F4B represents it without loss on any screen.

Tailwind taupe is a tinted neutral added in v4.2: a warm gray with a brown cast. It has no v3 equivalent.

Color codes for taupe-600

Color codes for taupe-600
Tailwind v4 token--color-taupe-600
OKLCH (source value)oklch(43.8% 0.017 39.3)
HEX#5B4F4B
RGBrgb(91, 79, 75)
HSLhsl(15, 10%, 33%)
HWBhwb(15 29% 64%)
CMYK (naive, no ICC profile)cmyk(0%, 13%, 18%, 64%)
Decimal5,984,075
Utility classesbg-taupe-600, text-taupe-600, border-taupe-600

Tailwind taupe scale

Contrast and accessibility

On taupe-600, white text has a contrast ratio of 7.88:1 and passes AAA at any text size; black text reaches 2.66:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on taupe-6002.66:1FailFailFailFail16.6
White text on taupe-6007.88:1PassPassPassPass−92.1
Taupe-600 text on white7.88:1PassPassPassPass87.4
Taupe-600 text on black2.66:1FailFailFailFail−14.8

Tints and shades

Each step mixes var(--color-taupe-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-taupe-600), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #635854
  2. 15%
    #746966
  3. 25%
    #847b78
  4. 35%
    #948d8a
  5. 45%
    #a59e9c
  6. 55%
    #b5b0ae
  7. 65%
    #c6c1c0
  8. 75%
    #d6d3d2
  9. 85%
    #e6e5e4
  10. 95%
    #f7f6f6

Shades (mixed with black)

  1. 5%
    #564b47
  2. 15%
    #4d4340
  3. 25%
    #443b38
  4. 35%
    #3b3331
  5. 45%
    #322b29
  6. 55%
    #292422
  7. 65%
    #201c1a
  8. 75%
    #171413
  9. 85%
    #0e0c0b
  10. 95%
    #050404

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, taupe-600's complementary color is #485458 (close to darkslategray), its analogous colors are #5B4E50 and #585048, and its triadic partners are #4A554F and #50515B. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#485458
Analogous−30°, +30°#5b4e50#585048
Triadic+120°, +240°#4a554f#50515b
Split-complementary+150°, +210°#485554#4b535b

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

Tailwind taupe-600 is close to neutral: its OKLCH chroma is only 0.017, so its temperature comes from context. The faint 15° hue gives it a slightly warm cast.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
darkslategray#2f4f4f6.4
dimgray#6969698.5
saddlebrown#8b451310.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
stone-600#57534d1.2
neutral-600#5252521.7
zinc-600#52525c2.9

Code snippets

Tailwind CSS
<div class="bg-taupe-600 text-white">...</div>
<p class="text-taupe-600 border-taupe-600">...</p>
CSS
.element {
  color: var(--color-taupe-600);
  background-color: oklch(43.8% 0.017 39.3);
  border-color: #5b4f4b;
  outline-color: rgb(91 79 75);
}
SwiftUI
import SwiftUI

extension Color {
  static let taupe600 = Color(red: 0.357, green: 0.310, blue: 0.294)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Taupe600 = Color(0xFF5B4F4B)
Flutter
import 'package:flutter/material.dart';

const taupe600 = Color(0xFF5B4F4B);
Android XML
<!-- res/values/colors.xml -->
<color name="taupe_600">#5B4F4B</color>

Frequently asked questions

What is the hex code for Tailwind taupe-600?
In Tailwind CSS v4, taupe-600 is oklch(43.8% 0.017 39.3), which converts to #5B4F4B (rgb(91, 79, 75)) in sRGB.
Is taupe-600 available in Tailwind v3?
No. The taupe scale was added in Tailwind CSS v4.2. In v3 you can recreate it in tailwind.config.js under theme.extend.colors with the hex #5B4F4B.
How do I use taupe-600 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-taupe-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on taupe-600?
White text on taupe-600 has a contrast ratio of 7.88:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.66:1 and fails AA even for large text. In APCA terms that is Lc −92.1 for white and Lc 16.6 for black.
Which CSS named color is closest to taupe-600?
The closest is darkslategray (#2F4F4F) at ΔE OK 6.4, followed by dimgray and saddlebrown.

Last reviewed by Arielton Oberek.