Tailwind CSS v3 color

Tailwind rose-600 #E11D48

Tailwind CSS v3's rose-600 is #E11D48. It is a vivid red in the red family. In OKLCH it sits at lightness 0.586, chroma 0.222 and hue 17.6°. The nearest CSS named color is crimson (#DC143C), ΔE2000 2.9 away.

Relative luminance
0.1735
OKLCH L · C · h
0.586 · 0.222 · 17.6
Best text
White 4.69:1
Hue family
Red

#E11D48 color codes

HEX
#E11D48
RGB
rgb(225, 29, 72)
HSL
hsl(347, 77%, 50%)
OKLCH
oklch(0.586 0.222 17.6)
OKLab
oklab(0.586 0.212 0.067)
CIELAB (D65)
L* 48.71, a* 71.30, b* 28.65
XYZ (D65)
X 32.66, Y 17.36, Z 7.76
CMYK (naive)
cmyk(0%, 87%, 68%, 12%)

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 #E11D48 accessible?

White text on it reaches 4.69:1, passing AA. Black text manages only 4.47:1, enough for large text only.

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

    4.47:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +33
  • White text on it

    4.69:1

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

    4.47:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −31
  • As text on white

    4.69:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +70

Nearest versions that pass 4.5:1

  • For text on white

    #E11D48 4.69:1

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

  • For text on black

    #E32049 4.56:1

    Lightening its OKLCH lightness from 0.59 to 0.59 reaches 4.56:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #E11D48 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 #E11D48

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

  1. 50#FFF1F1
    White
    1.09
    Black
    19.10
  2. 100#FFE4E4
    White
    1.20
    Black
    17.46
  3. 200#FFC7C8
    White
    1.47
    Black
    14.25
  4. 300#FF9FA2
    White
    1.95
    Black
    10.73
  5. 400#FF6876
    White
    2.80
    Black
    7.49
  6. 500This color#E11D48
    White
    4.69
    Black
    4.47
  7. 600#CE003D
    White
    5.68
    Black
    3.69
  8. 700#A6002F
    White
    7.88
    Black
    2.66
  9. 800#7B0020
    White
    11.27
    Black
    1.86
  10. 900#530013
    White
    15.24
    Black
    1.37
  11. 950#320008
    White
    18.43
    Black
    1.13

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

Tailwind CSS v3 rose scale

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

  1. 50#FFF1F2
    White
    1.09
    Black
    19.11
  2. 100#FFE4E6
    White
    1.20
    Black
    17.49
  3. 200#FECDD3
    White
    1.41
    Black
    14.88
  4. 300#FDA4AF
    White
    1.89
    Black
    11.10
  5. 400#FB7185
    White
    2.69
    Black
    7.80
  6. 500#F43F5E
    White
    3.67
    Black
    5.71
  7. 600This color#E11D48
    White
    4.69
    Black
    4.47
  8. 700#BE123C
    White
    6.28
    Black
    3.34
  9. 800#9F1239
    White
    8.01
    Black
    2.61
  10. 900#881337
    White
    9.56
    Black
    2.19
  11. 950#4C0519
    White
    15.63
    Black
    1.34

Gamut

How vivid #E11D48 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.235; #E11D48 uses 95% of it. Display P3, which many recent phones and laptops show, reaches 0.265 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.222
sRGB edge
0.235
Display P3 edge
0.265
Rec. 2020 edge
0.309
Dominant wavelength
638 nm
Excitation purity
63%
Chromaticity
x 0.5653, y 0.3004
  • This color#E11D48
  • Most vivid in sRGB#E60045
  • Most vivid in Display P3oklch(0.586 0.265 17.6)

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

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

Mixing

Mixing #E11D48

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%#F08EA4
  • OKLab50%#FB9EA1
  • OKLCH50%#FB9EA1

Black #000000

  • sRGB50%#710F24
  • OKLab50%#560516
  • OKLCH50%#560516

Its complement #008E91

  • sRGB50%#71566D
  • OKLab50%#9D6E6F
  • OKLCH50%#858100
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #e11d48, white);
color: color-mix(in oklch, #e11d48 50%, white);

In use

#E11D48 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:14.69:1 Passes
  • Link and body-size textText, 4.5:14.69:1 Passes
  • Large headingLarge text, 3:14.69:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.69:1 Passes

Dark page

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

For text on this page, the nearest shade that passes is #EC2D51 4.51:1

Color vision

How #E11D48 looks with color blindness

Deuteranopia changes it most, ΔE2000 44.1; tritanopia changes it least, 7.4.

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

    #5F5A48 ΔE2000 35.0

    Distinct

    Reads as dark grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #8E8242 ΔE2000 44.1

    Distinct

    Reads as muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #F70032 ΔE2000 7.4

    Noticeable

    Reads as vivid red

  • Achromatopsia

    No cone color vision; lightness only

    #747474 ΔE2000 28.3

    Distinct

    Reads as gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#E11D48 · #008E9158.8Stays distinct
Protanopia#5F5A48 · #83879123.3Stays distinct
Deuteranopia#8E8242 · #727A9233.4Stays distinct
Tritanopia#F70032 · #00938F61.2Stays distinct
Achromatopsia#747474 · #7F7F7F4.3Easily confused

Harmony

Color harmonies for #E11D48

Its complement is #008E91, a muted cyan, 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#E11D48
  • Complement#008E91

Complementary

Open in Harmony Studio
  • −30°#D12894
  • Base#E11D48
  • +30°#C55600
  • Base#E11D48
  • +120°#3D9300
  • +240°#0075F7
  • Base#E11D48
  • +150°#00926E
  • +210°#0088B0

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-rose-600: #e11d48;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  /* v4 has its own rose-600; this pins the v3 value. */
  --color-rose-600: oklch(0.586 0.222 17.6);
}

Design token (W3C DTCG)

{
  "color": {
    "rose-600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.8824, 0.1137, 0.2824],
        "hex": "#e11d48"
      },
      "$description": "Tailwind CSS v3 rose-600"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let rose600 = Color(.sRGB, red: 0.882, green: 0.114, blue: 0.282, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Rose600 = Color(0xFFE11D48)
}

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 #E11D48 in the tools

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