Skip to content

Tailwind CSS v4 default palette

Tailwind orange-700: #CA3500

In Tailwind CSS v4, orange-700 is defined as --color-orange-700: oklch(55.3% 0.195 38.402), which is #CA3500 in hex and rgb(202, 53, 0): a medium-dark, vivid brown. In Tailwind v3, orange-700 was #C2410C.

orange-700#CA3500

In OKLCH, orange-700 has a lightness of 55.3%, chroma 0.195 and hue 38.4°.

This OKLCH value lies outside sRGB. The hex #CA3500 is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.7298 0.2573 0.0511).

In v3, orange-700 was #C2410C. The v4 value is ΔE OK 2.1 away; v4 is more saturated.

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-700

Color codes for orange-700
Tailwind v4 token--color-orange-700
OKLCH (source value)oklch(55.3% 0.195 38.402)
HEX#CA3500
RGBrgb(202, 53, 0)
HSLhsl(16, 100%, 40%)
HWBhwb(16 0% 21%)
CMYK (naive, no ICC profile)cmyk(0%, 74%, 100%, 21%)
Decimal13,251,840
Display P3color(display-p3 0.7298 0.2573 0.0511)
Tailwind v3 hex#C2410C
Utility classesbg-orange-700, text-orange-700, border-orange-700

Tailwind orange scale

Contrast and accessibility

On orange-700, white text has a contrast ratio of 5.22:1 and passes AA for normal text; black text reaches 4.02: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-7004.02:1FailPassFailFail29.7
White text on orange-7005.22:1PassPassFailPass−79.8
Orange-700 text on white5.22:1PassPassFailPass74.4
Orange-700 text on black4.02:1FailPassFailFail−27.3

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #cd3f0d
  2. 15%
    #d25326
  3. 25%
    #d76840
  4. 35%
    #dd7c59
  5. 45%
    #e29073
  6. 55%
    #e7a48c
  7. 65%
    #ecb8a6
  8. 75%
    #f2cdbf
  9. 85%
    #f7e1d9
  10. 95%
    #fcf5f2

Shades (mixed with black)

  1. 5%
    #c03200
  2. 15%
    #ac2d00
  3. 25%
    #982800
  4. 35%
    #832200
  5. 45%
    #6f1d00
  6. 55%
    #5b1800
  7. 65%
    #471300
  8. 75%
    #330d00
  9. 85%
    #1e0800
  10. 95%
    #0a0300

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, orange-700's complementary color is #0082A1 (close to steelblue), its analogous colors are #C8295B and #A65F00, and its triadic partners are #008C4E and #5E5DE0. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#0082a1
Analogous−30°, +30°#c8295b#a65f00
Triadic+120°, +240°#008c4e#5e5de0
Split-complementary+150°, +210°#00877f#0074d7

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-700 is a warm color: its hue is 16° 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
firebrick#b222226.9
crimson#dc143c7.4
sienna#a0522d8.6

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
amber-700#bb4d004.6
red-700#c100076.4
red-600#e7000b7.0

Code snippets

Tailwind CSS
<div class="bg-orange-700 text-white">...</div>
<p class="text-orange-700 border-orange-700">...</p>
CSS
.element {
  color: var(--color-orange-700);
  background-color: oklch(55.3% 0.195 38.402);
  border-color: #ca3500;
  outline-color: rgb(202 53 0);
}
SwiftUI
import SwiftUI

extension Color {
  static let orange700 = Color(red: 0.792, green: 0.208, blue: 0.000)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const orange700 = Color(0xFFCA3500);
Android XML
<!-- res/values/colors.xml -->
<color name="orange_700">#CA3500</color>

Frequently asked questions

What is the hex code for Tailwind orange-700?
In Tailwind CSS v4, orange-700 is oklch(55.3% 0.195 38.402), which converts to #CA3500 (rgb(202, 53, 0)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #C2410C.
What is the difference between orange-700 in Tailwind v3 and v4?
v3 used the hex #C2410C; v4 redefined the palette in OKLCH as oklch(55.3% 0.195 38.402). In v3, orange-700 was #C2410C. The v4 value is ΔE OK 2.1 away; v4 is more saturated.
How do I use orange-700 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-orange-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on orange-700?
White text on orange-700 has a contrast ratio of 5.22:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 4.02:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −79.8 for white and Lc 29.7 for black.
Which CSS named color is closest to orange-700?
The closest is firebrick (#B22222) at ΔE OK 6.9, followed by crimson and sienna.

Last reviewed by Arielton Oberek.