Tailwind CSS v4 default palette
Tailwind taupe-800: #2B2422
In Tailwind CSS v4, taupe-800 is defined as --color-taupe-800: oklch(26.8% 0.011 36.5), which is #2B2422 in hex and rgb(43, 36, 34): a very dark gray with a faint brown tint.
In OKLCH, taupe-800 has a lightness of 26.8%, chroma 0.011 and hue 36.5°.
The value fits inside sRGB, so the hex #2B2422 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-800
| Tailwind v4 token | --color-taupe-800 |
|---|---|
| OKLCH (source value) | oklch(26.8% 0.011 36.5) |
| HEX | #2B2422 |
| RGB | rgb(43, 36, 34) |
| HSL | hsl(13, 12%, 15%) |
| HWB | hwb(13 13% 83%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 16%, 21%, 83%) |
| Decimal | 2,827,298 |
| Utility classes | bg-taupe-800, text-taupe-800, border-taupe-800 |
Tailwind taupe scale
Contrast and accessibility
On taupe-800, white text has a contrast ratio of 15.23:1 and passes AAA at any text size; black text reaches 1.37: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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on taupe-800 | 1.37:1 | Fail | Fail | Fail | Fail | 0.0 |
| White text on taupe-800 | 15.23:1 | Pass | Pass | Pass | Pass | −104.9 |
| Taupe-800 text on white | 15.23:1 | Pass | Pass | Pass | Pass | 102.2 |
| Taupe-800 text on black | 1.37:1 | Fail | Fail | Fail | Fail | 0.0 |
Tints and shades
Each step mixes var(--color-taupe-800) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-taupe-800), white 25%) in CSS.
Tints (mixed with white)
- 5%
#362f2d - 15%
#4b4543 - 25%
#605b59 - 35%
#75716f - 45%
#8a8785 - 55%
#a09c9c - 65%
#b5b2b2 - 75%
#cac8c8 - 85%
#dfdede - 95%
#f4f4f4
Shades (mixed with black)
- 5%
#292220 - 15%
#251f1d - 25%
#201b1a - 35%
#1c1716 - 45%
#181413 - 55%
#13100f - 65%
#0f0d0c - 75%
#0b0909 - 85%
#060505 - 95%
#020202
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, taupe-800's complementary color is #202729 (close to darkslategray), its analogous colors are #2B2425 and #2A2520, and its triadic partners are #222824 and #24262B. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #202729 |
| Analogous | −30°, +30° | #2b2425#2a2520 |
| Triadic | +120°, +240° | #222824#24262b |
| Split-complementary | +150°, +210° | #202827#22272b |
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-800 is close to neutral: its OKLCH chroma is only 0.011, so its temperature comes from context. The faint 13° 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
| Color | HEX | ΔE OK |
|---|---|---|
| darkslategray | #2f4f4f | 14.3 |
| midnightblue | #191970 | 15.1 |
| maroon | #800000 | 18.0 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| stone-800 | #292524 | 0.4 |
| neutral-800 | #262626 | 1.1 |
| zinc-800 | #27272a | 1.5 |
Code snippets
<div class="bg-taupe-800 text-white">...</div>
<p class="text-taupe-800 border-taupe-800">...</p>.element {
color: var(--color-taupe-800);
background-color: oklch(26.8% 0.011 36.5);
border-color: #2b2422;
outline-color: rgb(43 36 34);
}import SwiftUI
extension Color {
static let taupe800 = Color(red: 0.169, green: 0.141, blue: 0.133)
}import androidx.compose.ui.graphics.Color
val Taupe800 = Color(0xFF2B2422)import 'package:flutter/material.dart';
const taupe800 = Color(0xFF2B2422);<!-- res/values/colors.xml -->
<color name="taupe_800">#2B2422</color>Frequently asked questions
- What is the hex code for Tailwind taupe-800?
- In Tailwind CSS v4, taupe-800 is oklch(26.8% 0.011 36.5), which converts to #2B2422 (rgb(43, 36, 34)) in sRGB.
- Is taupe-800 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 #2B2422.
- How do I use taupe-800 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-taupe-800). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on taupe-800?
- White text on taupe-800 has a contrast ratio of 15.23:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.37:1 and fails AA even for large text. In APCA terms that is Lc −104.9 for white and Lc 0.0 for black.
- Which CSS named color is closest to taupe-800?
- The closest is darkslategray (#2F4F4F) at ΔE OK 14.3, followed by midnightblue and maroon.
Last reviewed by Arielton Oberek.