Skip to content

Tailwind CSS v4 default palette

Tailwind taupe-950: #0C0A09

In Tailwind CSS v4, taupe-950 is defined as --color-taupe-950: oklch(14.7% 0.004 49.3), which is #0C0A09 in hex and rgb(12, 10, 9): a near-black with a faint brown tint.

taupe-950#0C0A09

In OKLCH, taupe-950 has a lightness of 14.7%, chroma 0.004 and hue 49.3°.

The value fits inside sRGB, so the hex #0C0A09 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-950

Color codes for taupe-950
Tailwind v4 token--color-taupe-950
OKLCH (source value)oklch(14.7% 0.004 49.3)
HEX#0C0A09
RGBrgb(12, 10, 9)
HSLhsl(20, 14%, 4%)
HWBhwb(20 4% 95%)
CMYK (naive, no ICC profile)cmyk(0%, 17%, 25%, 95%)
Decimal789,001
Utility classesbg-taupe-950, text-taupe-950, border-taupe-950

Tailwind taupe scale

Contrast and accessibility

On taupe-950, white text has a contrast ratio of 19.75:1 and passes AAA at any text size; black text reaches 1.06: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-9501.06:1FailFailFailFail0.0
White text on taupe-95019.75:1PassPassPassPass−107.7
Taupe-950 text on white19.75:1PassPassPassPass105.8
Taupe-950 text on black1.06:1FailFailFailFail0.0

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #181615
  2. 15%
    #302f2e
  3. 25%
    #494747
  4. 35%
    #61605f
  5. 45%
    #797878
  6. 55%
    #929190
  7. 65%
    #aaa9a9
  8. 75%
    #c2c2c2
  9. 85%
    #dbdada
  10. 95%
    #f3f3f3

Shades (mixed with black)

  1. 5%
    #0b0a09
  2. 15%
    #0a0908
  3. 25%
    #090807
  4. 35%
    #080706
  5. 45%
    #070605
  6. 55%
    #050504
  7. 65%
    #040403
  8. 75%
    #030302
  9. 85%
    #020201
  10. 95%
    #010100

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, taupe-950's complementary color is #090B0C (close to black), its analogous colors are #0C0A0A and #0B0A09, and its triadic partners are #090B0A and #0A0A0C. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#090b0c
Analogous−30°, +30°#0c0a0a#0b0a09
Triadic+120°, +240°#090b0a#0a0a0c
Split-complementary+150°, +210°#090b0b#0a0b0c

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-950 is close to neutral: its OKLCH chroma is only 0.004, so its temperature comes from context. It has no perceptible hue.

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
black#00000014.7
midnightblue#19197020.3
navy#00008022.8

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
stone-950#0c0a090.0
neutral-950#0a0a0a0.4
olive-950#0c0c090.8

Code snippets

Tailwind CSS
<div class="bg-taupe-950 text-white">...</div>
<p class="text-taupe-950 border-taupe-950">...</p>
CSS
.element {
  color: var(--color-taupe-950);
  background-color: oklch(14.7% 0.004 49.3);
  border-color: #0c0a09;
  outline-color: rgb(12 10 9);
}
SwiftUI
import SwiftUI

extension Color {
  static let taupe950 = Color(red: 0.047, green: 0.039, blue: 0.035)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const taupe950 = Color(0xFF0C0A09);
Android XML
<!-- res/values/colors.xml -->
<color name="taupe_950">#0C0A09</color>

Frequently asked questions

What is the hex code for Tailwind taupe-950?
In Tailwind CSS v4, taupe-950 is oklch(14.7% 0.004 49.3), which converts to #0C0A09 (rgb(12, 10, 9)) in sRGB.
Is taupe-950 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 #0C0A09.
How do I use taupe-950 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-taupe-950). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on taupe-950?
White text on taupe-950 has a contrast ratio of 19.75:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.06:1 and fails AA even for large text. In APCA terms that is Lc −107.7 for white and Lc 0.0 for black.
Which CSS named color is closest to taupe-950?
The closest is black (#000000) at ΔE OK 14.7, followed by midnightblue and navy.

Last reviewed by Arielton Oberek.