Tailwind CSS v3 color

Tailwind orange-950 #431407

Tailwind CSS v3's orange-950 is #431407. It is a very dark muted brown in the brown family. In OKLCH it sits at lightness 0.266, chroma 0.076 and hue 36.3°. The nearest CSS named color is maroon (#800000), ΔE2000 13.5 away.

Relative luminance
0.0171
OKLCH L · C · h
0.266 · 0.076 · 36.3
Best text
White 15.65:1
Hue family
Brown

#431407 color codes

HEX
#431407
RGB
rgb(67, 20, 7)
HSL
hsl(13, 81%, 15%)
OKLCH
oklch(0.266 0.076 36.3)
OKLab
oklab(0.266 0.061 0.045)
CIELAB (D65)
L* 13.88, a* 21.92, b* 18.30
XYZ (D65)
X 2.60, Y 1.71, Z 0.39
CMYK (naive)
cmyk(0%, 70%, 90%, 74%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #431407 accessible?

White text on it reaches 15.65:1, passing AAA. Black text fails at 1.34:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    1.34:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0

    Text is here, unreadable at 1.34:1

  • White text on it

    15.65:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −104
  • As text on black

    1.34:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0

    Text is here, unreadable at 1.34:1

  • As text on white

    15.65:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +102

Nearest versions that pass 4.5:1

  • For text on white

    #431407 15.65:1

    It already reaches 15.65:1 on white, so no change is needed.

  • For text on black

    #9F6758 4.55:1

    Lightening its OKLCH lightness from 0.27 to 0.57 reaches 4.55:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #431407 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #431407

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #431407 sits at step 900.

  1. 50#FFF2EE
    White
    1.09
    Black
    19.18
  2. 100#FFE5DD
    White
    1.19
    Black
    17.50
  3. 200#FFC9BA
    White
    1.46
    Black
    14.31
  4. 300#E8AE9E
    White
    1.91
    Black
    10.97
  5. 400#CB9181
    White
    2.65
    Black
    7.90
  6. 500#AF7666
    White
    3.74
    Black
    5.60
  7. 600#955F4F
    White
    5.21
    Black
    4.02
  8. 700#7C483A
    White
    7.38
    Black
    2.84
  9. 800#5F3125
    White
    10.75
    Black
    1.95
  10. 900This color#431407
    White
    15.65
    Black
    1.34
  11. 950#2B0A03
    White
    18.30
    Black
    1.14

Under each step, white and black text on it; a bold figure passes 4.5:1.

Tailwind CSS v3 orange scale

The real Tailwind palette, for comparison with the computed ramp above.

  1. 50#FFF7ED
    White
    1.06
    Black
    19.77
  2. 100#FFEDD5
    White
    1.14
    Black
    18.32
  3. 200#FED7AA
    White
    1.35
    Black
    15.51
  4. 300#FDBA74
    White
    1.68
    Black
    12.45
  5. 400#FB923C
    White
    2.26
    Black
    9.27
  6. 500#F97316
    White
    2.80
    Black
    7.49
  7. 600#EA580C
    White
    3.55
    Black
    5.89
  8. 700#C2410C
    White
    5.17
    Black
    4.05
  9. 800#9A3412
    White
    7.30
    Black
    2.87
  10. 900#7C2D12
    White
    9.37
    Black
    2.24
  11. 950This color#431407
    White
    15.65
    Black
    1.34

Gamut

How vivid #431407 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.091; #431407 uses 84% of it. Display P3, which many recent phones and laptops show, reaches 0.103 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.076
sRGB edge
0.091
Display P3 edge
0.103
Rec. 2020 edge
0.103
Dominant wavelength
600 nm
Excitation purity
77%
Chromaticity
x 0.5532, y 0.3632
  • This color#431407
  • Most vivid in sRGB#480D00
  • Most vivid in Display P3oklch(0.266 0.103 36.3)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #431407;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.2694 0.0532 0); }
}

Mixing

Mixing #431407

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#A18A83
  • OKLab50%#A0827A
  • OKLCH50%#A0827A

Black #000000

  • sRGB50%#220A04
  • OKLab50%#140301
  • OKLCH50%#140301

Its complement #002B34

  • sRGB50%#22201E
  • OKLab50%#2C2320
  • OKLCH50%#1E2A04
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #431407, white);
color: color-mix(in oklch, #431407 50%, white);

In use

#431407 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:115.65:1 Passes
  • Link and body-size textText, 4.5:115.65:1 Passes
  • Large headingLarge text, 3:115.65:1 Passes
  • Icons, borders and focus ringsNon-text, 3:115.65:1 Passes

Dark page

  • Button labelText, 4.5:115.65:1 Passes
  • Link and body-size textText, 4.5:11.19:1 Fails
  • Large headingLarge text, 3:11.19:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.19:1 Fails

For text on this page, the nearest shade that passes is #A76F5F 4.53:1

Color vision

How #431407 looks with color blindness

Protanopia changes it most, ΔE2000 21.6; tritanopia changes it least, 6.5.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #211D06 ΔE2000 21.6

    Distinct

    Reads as very dark grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #2D2706 ΔE2000 21.4

    Distinct

    Reads as very dark grayish brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #4B0811 ΔE2000 6.5

    Noticeable

    Reads as very dark muted brown

  • Achromatopsia

    No cone color vision; lightness only

    #232323 ΔE2000 20.0

    Distinct

    Reads as near-black

Pairing check

Checked against its complement, #002B34. Their lightness contrast is only 1.03:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#431407 · #002B3437.6Stays distinct
Protanopia#211D06 · #25293418.5Stays distinct
Deuteranopia#2D2706 · #1E243424.9Stays distinct
Tritanopia#4B0811 · #002E2E39.2Stays distinct
Achromatopsia#232323 · #2626260.9Easily confused

Harmony

Color harmonies for #431407

Its complement is #002B34, a very dark grayish blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#431407
  • Complement#002B34

Complementary

Open in Harmony Studio
  • −30°#42111F
  • Base#431407
  • +30°#381E00
  • Base#431407
  • +120°#002E18
  • +240°#1C204A
  • Base#431407
  • +150°#002D29
  • +210°#002745

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-orange-950: #431407;
}

Tailwind config

// tailwind.config.js — already built in as orange-950;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        orange: { 950: '#431407' },
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  /* v4 has its own orange-950; this pins the v3 value. */
  --color-orange-950: oklch(0.266 0.076 36.3);
}

Design token (W3C DTCG)

{
  "color": {
    "orange-950": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.2627, 0.0784, 0.0275],
        "hex": "#431407"
      },
      "$description": "Tailwind CSS v3 orange-950"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let orange950 = Color(.sRGB, red: 0.263, green: 0.078, blue: 0.027, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Orange950 = Color(0xFF431407)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #431407 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.