Tailwind CSS v4 default palette
Tailwind taupe-300: #D8D2D0
In Tailwind CSS v4, taupe-300 is defined as --color-taupe-300: oklch(86.8% 0.007 39.5), which is #D8D2D0 in hex and rgb(216, 210, 208): a very light gray with a faint red-orange tint.
In OKLCH, taupe-300 has a lightness of 86.8%, chroma 0.007 and hue 39.5°.
The value fits inside sRGB, so the hex #D8D2D0 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-300
| Tailwind v4 token | --color-taupe-300 |
|---|---|
| OKLCH (source value) | oklch(86.8% 0.007 39.5) |
| HEX | #D8D2D0 |
| RGB | rgb(216, 210, 208) |
| HSL | hsl(15, 9%, 83%) |
| HWB | hwb(15 82% 15%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 3%, 4%, 15%) |
| Decimal | 14,209,744 |
| Utility classes | bg-taupe-300, text-taupe-300, border-taupe-300 |
Tailwind taupe scale
Contrast and accessibility
On taupe-300, black text has a contrast ratio of 14.04:1 and passes AAA at any text size; white text reaches 1.49: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-300 | 14.04:1 | Pass | Pass | Pass | Pass | 80.5 |
| White text on taupe-300 | 1.49:1 | Fail | Fail | Fail | Fail | −26.4 |
| Taupe-300 text on white | 1.49:1 | Fail | Fail | Fail | Fail | 23.2 |
| Taupe-300 text on black | 14.04:1 | Pass | Pass | Pass | Pass | −80.0 |
Tints and shades
Each step mixes var(--color-taupe-300) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-taupe-300), white 25%) in CSS.
Tints (mixed with white)
- 5%
#dad4d2 - 15%
#ded9d7 - 25%
#e2dddc - 35%
#e6e2e0 - 45%
#eae6e5 - 55%
#edebea - 65%
#f1efef - 75%
#f5f4f3 - 85%
#f9f8f8 - 95%
#fdfdfd
Shades (mixed with black)
- 5%
#cdc8c6 - 15%
#b8b3b1 - 25%
#a29e9c - 35%
#8c8987 - 45%
#777472 - 55%
#615e5e - 65%
#4c4a49 - 75%
#363534 - 85%
#20201f - 95%
#0b0b0a
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, taupe-300's complementary color is #CFD5D7 (close to lightgray), its analogous colors are #D8D2D2 and #D7D3CF, and its triadic partners are #D0D5D2 and #D2D3D8. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #cfd5d7 |
| Analogous | −30°, +30° | #d8d2d2#d7d3cf |
| Triadic | +120°, +240° | #d0d5d2#d2d3d8 |
| Split-complementary | +150°, +210° | #cfd5d4#d0d4d8 |
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-300 is close to neutral: its OKLCH chroma is only 0.007, 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.
Code snippets
<div class="bg-taupe-300 text-black">...</div>
<p class="text-taupe-300 border-taupe-300">...</p>.element {
color: var(--color-taupe-300);
background-color: oklch(86.8% 0.007 39.5);
border-color: #d8d2d0;
outline-color: rgb(216 210 208);
}import SwiftUI
extension Color {
static let taupe300 = Color(red: 0.847, green: 0.824, blue: 0.816)
}import androidx.compose.ui.graphics.Color
val Taupe300 = Color(0xFFD8D2D0)import 'package:flutter/material.dart';
const taupe300 = Color(0xFFD8D2D0);<!-- res/values/colors.xml -->
<color name="taupe_300">#D8D2D0</color>Frequently asked questions
- What is the hex code for Tailwind taupe-300?
- In Tailwind CSS v4, taupe-300 is oklch(86.8% 0.007 39.5), which converts to #D8D2D0 (rgb(216, 210, 208)) in sRGB.
- Is taupe-300 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 #D8D2D0.
- How do I use taupe-300 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-taupe-300). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on taupe-300?
- White text on taupe-300 has a contrast ratio of 1.49:1, which fails AA even for large text under WCAG 2.2. Black text reaches 14.04:1 and passes both AA and AAA. In APCA terms that is Lc −26.4 for white and Lc 80.5 for black.
- Which CSS named color is closest to taupe-300?
- The closest is lightgray (#D3D3D3) at ΔE OK 0.7, followed by gainsboro and thistle.
Last reviewed by Arielton Oberek.