Skip to content

Tailwind CSS v4 default palette

Tailwind zinc-100: #F4F4F5

In Tailwind CSS v4, zinc-100 is defined as --color-zinc-100: oklch(96.7% 0.001 286.375), which is #F4F4F5 in hex and rgb(244, 244, 245): a neutral near-white. In Tailwind v3, zinc-100 was #F4F4F5.

zinc-100#F4F4F5

In OKLCH, zinc-100 has a lightness of 96.7%, chroma 0.001 and hue 286.4°.

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

In v3, zinc-100 was #F4F4F5. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.

Tailwind zinc is a nearly neutral gray with a faint cool violet cast, sitting between the bluish gray and the hueless neutral.

Color codes for zinc-100

Color codes for zinc-100
Tailwind v4 token--color-zinc-100
OKLCH (source value)oklch(96.7% 0.001 286.375)
HEX#F4F4F5
RGBrgb(244, 244, 245)
HSLhsl(240, 5%, 96%)
HWBhwb(240 96% 4%)
CMYK (naive, no ICC profile)cmyk(0%, 0%, 0%, 4%)
Decimal16,053,493
Tailwind v3 hex#F4F4F5
Utility classesbg-zinc-100, text-zinc-100, border-zinc-100

Tailwind zinc scale

Contrast and accessibility

On zinc-100, black text has a contrast ratio of 19.10:1 and passes AAA at any text size; white text reaches 1.09: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 zinc-10019.10:1PassPassPassPass99.5
White text on zinc-1001.09:1FailFailFailFail0.0
Zinc-100 text on white1.09:1FailFailFailFail0.0
Zinc-100 text on black19.10:1PassPassPassPass−100.7

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #f5f5f6
  2. 15%
    #f6f6f7
  3. 25%
    #f7f7f8
  4. 35%
    #f8f8f9
  5. 45%
    #f9f9fa
  6. 55%
    #fafafb
  7. 65%
    #fbfbfc
  8. 75%
    #fcfcfd
  9. 85%
    #fdfdfe
  10. 95%
    #fefeff

Shades (mixed with black)

  1. 5%
    #e8e8e9
  2. 15%
    #cfcfd0
  3. 25%
    #b7b7b8
  4. 35%
    #9f9f9f
  5. 45%
    #868687
  6. 55%
    #6e6e6e
  7. 65%
    #555556
  8. 75%
    #3d3d3d
  9. 85%
    #252525
  10. 95%
    #0c0c0c

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, zinc-100's complementary color is #F4F4F3 (close to whitesmoke), its analogous colors are #F4F4F5 and #F4F4F4, and its triadic partners are #F5F4F3 and #F3F4F4. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f4f4f3
Analogous−30°, +30°#f4f4f5#f4f4f4
Triadic+120°, +240°#f5f4f3#f3f4f4
Split-complementary+150°, +210°#f4f4f3#f4f4f3

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 zinc-100 is close to neutral: its OKLCH chroma is only 0.001, so its temperature comes from context. It has no perceptible hue.

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
whitesmoke#f5f5f50.3
aliceblue#f0f8ff1.4
ghostwhite#f8f8ff1.6

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
gray-100#f3f4f60.2
neutral-100#f5f5f50.3
stone-100#f5f5f40.4

Code snippets

Tailwind CSS
<div class="bg-zinc-100 text-black">...</div>
<p class="text-zinc-100 border-zinc-100">...</p>
CSS
.element {
  color: var(--color-zinc-100);
  background-color: oklch(96.7% 0.001 286.375);
  border-color: #f4f4f5;
  outline-color: rgb(244 244 245);
}
SwiftUI
import SwiftUI

extension Color {
  static let zinc100 = Color(red: 0.957, green: 0.957, blue: 0.961)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const zinc100 = Color(0xFFF4F4F5);
Android XML
<!-- res/values/colors.xml -->
<color name="zinc_100">#F4F4F5</color>

Frequently asked questions

What is the hex code for Tailwind zinc-100?
In Tailwind CSS v4, zinc-100 is oklch(96.7% 0.001 286.375), which converts to #F4F4F5 (rgb(244, 244, 245)) in sRGB. In Tailwind v3 the same name was #F4F4F5.
What is the difference between zinc-100 in Tailwind v3 and v4?
v3 used the hex #F4F4F5; v4 redefined the palette in OKLCH as oklch(96.7% 0.001 286.375). In v3, zinc-100 was #F4F4F5. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
How do I use zinc-100 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-zinc-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on zinc-100?
White text on zinc-100 has a contrast ratio of 1.09:1, which fails AA even for large text under WCAG 2.2. Black text reaches 19.10:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 99.5 for black.
Which CSS named color is closest to zinc-100?
The closest is whitesmoke (#F5F5F5) at ΔE OK 0.3, followed by aliceblue and ghostwhite.

Last reviewed by Arielton Oberek.