Tailwind CSS v3.4 color family

Tailwind pink 11 shades, 50 to 950

Pink is one of the 22 color families in Tailwind CSS v3.4, with eleven shades from 50 to 950. Its 500 shade, #EC4899, sits at OKLCH hue 354.3°. Lightness runs from 0.971 at 50 to 0.284 at 950.

500 shade
#EC4899
OKLCH hue at 500
354.3°
Body text on white
600 to 950
Body text on black
50 to 600

Tailwind CSS 4.3.3

pink: current colors

11 shades with exact official OKLCH values. Use bg-pink-500, text-pink-500 or border-pink-500 in Tailwind. Wide-gamut colors are preserved; these are not the v3 hex values.

ColorExact OKLCHCSS variable
pink-50oklch(97.1% 0.014 343.198)--color-pink-50
pink-100oklch(94.8% 0.028 342.258)--color-pink-100
pink-200oklch(89.9% 0.061 343.231)--color-pink-200
pink-300oklch(82.3% 0.12 346.018)--color-pink-300
pink-400oklch(71.8% 0.202 349.761)--color-pink-400
pink-500oklch(65.6% 0.241 354.308)--color-pink-500
pink-600oklch(59.2% 0.249 0.584)--color-pink-600
pink-700oklch(52.5% 0.223 3.958)--color-pink-700
pink-800oklch(45.9% 0.187 3.815)--color-pink-800
pink-900oklch(40.8% 0.153 2.432)--color-pink-900
pink-950oklch(28.4% 0.109 3.907)--color-pink-950

Source: Tailwind CSS 4.3.3 theme.css (MIT). Values are pinned to this release. Older v3 reference values below are kept separately for existing projects.

Scale

Every shade, 50 to 950

Each shade has a page of its own. Under each, white and black text on it; a bold figure passes 4.5:1.

  1. 50#FDF2F8
    White
    1.09
    Black
    19.23
  2. 100#FCE7F3
    White
    1.17
    Black
    17.86
  3. 200#FBCFE8
    White
    1.38
    Black
    15.19
  4. 300#F9A8D4
    White
    1.81
    Black
    11.57
  5. 400#F472B6
    White
    2.64
    Black
    7.92
  6. 500#EC4899
    White
    3.52
    Black
    5.95
  7. 600#DB2777
    White
    4.59
    Black
    4.56
  8. 700#BE185D
    White
    6.03
    Black
    3.47
  9. 800#9D174D
    White
    7.88
    Black
    2.66
  10. 900#831843
    White
    9.64
    Black
    2.17
  11. 950#500724
    White
    15.03
    Black
    1.39

Values

Hex, RGB and OKLCH values

The Tailwind CSS v3.4 values, with the contrast of white and black text on each shade.

ShadeHEXRGBOKLCHWhite textBlack text
pink-50#FDF2F8rgb(253, 242, 248)oklch(0.971 0.014 343.2)1.0919.23
pink-100#FCE7F3rgb(252, 231, 243)oklch(0.948 0.028 342.3)1.1717.86
pink-200#FBCFE8rgb(251, 207, 232)oklch(0.899 0.059 343.2)1.3815.19
pink-300#F9A8D4rgb(249, 168, 212)oklch(0.823 0.110 346.0)1.8111.57
pink-400#F472B6rgb(244, 114, 182)oklch(0.725 0.175 349.8)2.647.92
pink-500#EC4899rgb(236, 72, 153)oklch(0.656 0.212 354.3)3.525.95
pink-600#DB2777rgb(219, 39, 119)oklch(0.592 0.218 0.6)4.594.56
pink-700#BE185Drgb(190, 24, 93)oklch(0.525 0.199 4.0)6.033.47
pink-800#9D174Drgb(157, 23, 77)oklch(0.459 0.170 3.8)7.882.66
pink-900#831843rgb(131, 24, 67)oklch(0.408 0.144 2.4)9.642.17
pink-950#500724rgb(80, 7, 36)oklch(0.284 0.105 3.9)15.031.39

Legibility

Which shades pass on each other

Every shade as text on every other shade. 28 of 110 pairings pass 4.5:1 for body text, and 22 more pass 3:1 for large text.

Text shade, then background shade50100200300400500600700800900950
50same shade1.071.261.662.423.234.205.527.228.8313.76
1001.07same shade1.171.542.253.003.915.136.708.2012.78
2001.261.17same shade1.311.912.553.324.365.706.9710.87
3001.661.541.31same shade1.461.942.533.324.345.318.28
4002.422.251.911.46same shade1.331.732.272.973.645.67
5003.233.002.551.941.33same shade1.301.712.232.734.26
6004.203.913.322.531.731.30same shade1.311.712.093.27
7005.525.134.363.322.271.711.31same shade1.301.592.48
8007.226.705.704.342.972.231.711.30same shade1.221.90
9008.838.206.975.313.642.732.091.591.22same shade1.55
95013.7612.7810.878.285.674.263.272.481.901.55same shade

Rows are the text shade, columns the background. A bold figure on a tinted cell passes 4.5:1 for body text; a plain one passes 3:1 for large text only; a faint one fails.

Color vision

The scale with color blindness

The same eleven shades as seen with each color vision deficiency. Lightness keeps a ramp in order even where its hue collapses.

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

What each type sees
  • Typical vision

    Closest neighbors: 50 and 100, ΔE2000 4.9

  • Protanopia

    Closest neighbors: 50 and 100, ΔE2000 3.0

  • Deuteranopia

    Closest neighbors: 50 and 100, ΔE2000 1.8

  • Tritanopia

    Closest neighbors: 50 and 100, ΔE2000 4.6

  • Achromatopsia

    Closest neighbors: 50 and 100, ΔE2000 1.7

Code

Design tokens

The whole family in six formats, ready to paste.

CSS custom properties

:root {
  --color-pink-50: #fdf2f8;
  --color-pink-100: #fce7f3;
  --color-pink-200: #fbcfe8;
  --color-pink-300: #f9a8d4;
  --color-pink-400: #f472b6;
  --color-pink-500: #ec4899;
  --color-pink-600: #db2777;
  --color-pink-700: #be185d;
  --color-pink-800: #9d174d;
  --color-pink-900: #831843;
  --color-pink-950: #500724;
}

Tailwind config

// tailwind.config.js — pink is built in; this pins the v3.4 values.
module.exports = {
  theme: {
    extend: {
      colors: {
        pink: {
          50: '#fdf2f8',
          100: '#fce7f3',
          200: '#fbcfe8',
          300: '#f9a8d4',
          400: '#f472b6',
          500: '#ec4899',
          600: '#db2777',
          700: '#be185d',
          800: '#9d174d',
          900: '#831843',
          950: '#500724',
        },
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  /* v4 has its own pink; these pin the v3 values. */
  --color-pink-50: oklch(0.971 0.014 343.2);
  --color-pink-100: oklch(0.948 0.028 342.3);
  --color-pink-200: oklch(0.899 0.059 343.2);
  --color-pink-300: oklch(0.823 0.110 346.0);
  --color-pink-400: oklch(0.725 0.175 349.8);
  --color-pink-500: oklch(0.656 0.212 354.3);
  --color-pink-600: oklch(0.592 0.218 0.6);
  --color-pink-700: oklch(0.525 0.199 4.0);
  --color-pink-800: oklch(0.459 0.170 3.8);
  --color-pink-900: oklch(0.408 0.144 2.4);
  --color-pink-950: oklch(0.284 0.105 3.9);
}

Design tokens (W3C DTCG)

{
  "color": {
    "pink": {
      "50": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9922, 0.949, 0.9725],
          "hex": "#fdf2f8"
        }
      },
      "100": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9882, 0.9059, 0.9529],
          "hex": "#fce7f3"
        }
      },
      "200": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9843, 0.8118, 0.9098],
          "hex": "#fbcfe8"
        }
      },
      "300": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9765, 0.6588, 0.8314],
          "hex": "#f9a8d4"
        }
      },
      "400": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9569, 0.4471, 0.7137],
          "hex": "#f472b6"
        }
      },
      "500": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9255, 0.2824, 0.6],
          "hex": "#ec4899"
        }
      },
      "600": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.8588, 0.1529, 0.4667],
          "hex": "#db2777"
        }
      },
      "700": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.7451, 0.0941, 0.3647],
          "hex": "#be185d"
        }
      },
      "800": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.6157, 0.0902, 0.302],
          "hex": "#9d174d"
        }
      },
      "900": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.5137, 0.0941, 0.2627],
          "hex": "#831843"
        }
      },
      "950": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.3137, 0.0275, 0.1412],
          "hex": "#500724"
        }
      }
    }
  }
}

SwiftUI colors

import SwiftUI

enum Palette {
    static let pink50 = Color(.sRGB, red: 0.992, green: 0.949, blue: 0.973, opacity: 1)
    static let pink100 = Color(.sRGB, red: 0.988, green: 0.906, blue: 0.953, opacity: 1)
    static let pink200 = Color(.sRGB, red: 0.984, green: 0.812, blue: 0.910, opacity: 1)
    static let pink300 = Color(.sRGB, red: 0.976, green: 0.659, blue: 0.831, opacity: 1)
    static let pink400 = Color(.sRGB, red: 0.957, green: 0.447, blue: 0.714, opacity: 1)
    static let pink500 = Color(.sRGB, red: 0.925, green: 0.282, blue: 0.600, opacity: 1)
    static let pink600 = Color(.sRGB, red: 0.859, green: 0.153, blue: 0.467, opacity: 1)
    static let pink700 = Color(.sRGB, red: 0.745, green: 0.094, blue: 0.365, opacity: 1)
    static let pink800 = Color(.sRGB, red: 0.616, green: 0.090, blue: 0.302, opacity: 1)
    static let pink900 = Color(.sRGB, red: 0.514, green: 0.094, blue: 0.263, opacity: 1)
    static let pink950 = Color(.sRGB, red: 0.314, green: 0.027, blue: 0.141, opacity: 1)
}

Jetpack Compose colors

import androidx.compose.ui.graphics.Color

object Palette {
    val Pink50 = Color(0xFFFDF2F8)
    val Pink100 = Color(0xFFFCE7F3)
    val Pink200 = Color(0xFFFBCFE8)
    val Pink300 = Color(0xFFF9A8D4)
    val Pink400 = Color(0xFFF472B6)
    val Pink500 = Color(0xFFEC4899)
    val Pink600 = Color(0xFFDB2777)
    val Pink700 = Color(0xFFBE185D)
    val Pink800 = Color(0xFF9D174D)
    val Pink900 = Color(0xFF831843)
    val Pink950 = Color(0xFF500724)
}

Families

Other Tailwind families

The rest of the Tailwind CSS v3.4 palette, in the order Tailwind lists it.