Skip to content

Tailwind CSS v4 default palette

Tailwind orange-950: #441306

In Tailwind CSS v4, orange-950 is defined as --color-orange-950: oklch(26.6% 0.079 36.259), which is #441306 in hex and rgb(68, 19, 6): a very dark, muted brown. In Tailwind v3, orange-950 was #431407.

orange-950#441306

In OKLCH, orange-950 has a lightness of 26.6%, chroma 0.079 and hue 36.3°.

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

In v3, orange-950 was #431407. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.

Tailwind orange runs from a pale peach at 50 to a deep burnt orange at 950, with its highest chroma at 600.

Color codes for orange-950

Color codes for orange-950
Tailwind v4 token--color-orange-950
OKLCH (source value)oklch(26.6% 0.079 36.259)
HEX#441306
RGBrgb(68, 19, 6)
HSLhsl(13, 84%, 15%)
HWBhwb(13 2% 73%)
CMYK (naive, no ICC profile)cmyk(0%, 72%, 91%, 73%)
Decimal4,461,318
Tailwind v3 hex#431407
Utility classesbg-orange-950, text-orange-950, border-orange-950

Tailwind orange scale

Contrast and accessibility

On orange-950, white text has a contrast ratio of 15.65:1 and passes AAA at any text size; black text reaches 1.34: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 orange-9501.34:1FailFailFailFail0.0
White text on orange-95015.65:1PassPassPassPass−104.8
Orange-950 text on white15.65:1PassPassPassPass102.1
Orange-950 text on black1.34:1FailFailFailFail0.0

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #4d1f12
  2. 15%
    #60362b
  3. 25%
    #734e44
  4. 35%
    #85665d
  5. 45%
    #987d76
  6. 55%
    #ab958f
  7. 65%
    #beaca8
  8. 75%
    #d0c4c1
  9. 85%
    #e3dcda
  10. 95%
    #f6f3f3

Shades (mixed with black)

  1. 5%
    #411206
  2. 15%
    #3a1005
  3. 25%
    #330e05
  4. 35%
    #2c0c04
  5. 45%
    #250a03
  6. 55%
    #1f0903
  7. 65%
    #180702
  8. 75%
    #110502
  9. 85%
    #0a0301
  10. 95%
    #030100

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, orange-950's complementary color is #002D3A (close to midnightblue), its analogous colors are #43101F and #3E1B00, and its triadic partners are #003014 and #1C204B. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#002d3a
Analogous−30°, +30°#43101f#3e1b00
Triadic+120°, +240°#003014#1c204b
Split-complementary+150°, +210°#002f2a#002749

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 orange-950 is a warm color: its hue is 13° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.

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
maroon#80000013.5
darkred#8b000015.9
darkslategray#2f4f4f17.9

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
amber-950#4619011.8
red-950#4608092.2
yellow-950#4320043.2

Code snippets

Tailwind CSS
<div class="bg-orange-950 text-white">...</div>
<p class="text-orange-950 border-orange-950">...</p>
CSS
.element {
  color: var(--color-orange-950);
  background-color: oklch(26.6% 0.079 36.259);
  border-color: #441306;
  outline-color: rgb(68 19 6);
}
SwiftUI
import SwiftUI

extension Color {
  static let orange950 = Color(red: 0.267, green: 0.075, blue: 0.024)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const orange950 = Color(0xFF441306);
Android XML
<!-- res/values/colors.xml -->
<color name="orange_950">#441306</color>

Frequently asked questions

What is the hex code for Tailwind orange-950?
In Tailwind CSS v4, orange-950 is oklch(26.6% 0.079 36.259), which converts to #441306 (rgb(68, 19, 6)) in sRGB. In Tailwind v3 the same name was #431407.
What is the difference between orange-950 in Tailwind v3 and v4?
v3 used the hex #431407; v4 redefined the palette in OKLCH as oklch(26.6% 0.079 36.259). In v3, orange-950 was #431407. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
How do I use orange-950 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-orange-950). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on orange-950?
White text on orange-950 has a contrast ratio of 15.65:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.34:1 and fails AA even for large text. In APCA terms that is Lc −104.8 for white and Lc 0.0 for black.
Which CSS named color is closest to orange-950?
The closest is maroon (#800000) at ΔE OK 13.5, followed by darkred and darkslategray.

Last reviewed by Arielton Oberek.