Skip to content

Tailwind CSS v4 default palette

Tailwind mist-100: #F1F3F3

In Tailwind CSS v4, mist-100 is defined as --color-mist-100: oklch(96.3% 0.002 197.1), which is #F1F3F3 in hex and rgb(241, 243, 243): a neutral near-white.

mist-100#F1F3F3

In OKLCH, mist-100 has a lightness of 96.3%, chroma 0.002 and hue 197.1°.

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

Tailwind mist is a tinted neutral added in v4.2: a cool gray with a slight blue-cyan cast. It has no v3 equivalent.

Color codes for mist-100

Color codes for mist-100
Tailwind v4 token--color-mist-100
OKLCH (source value)oklch(96.3% 0.002 197.1)
HEX#F1F3F3
RGBrgb(241, 243, 243)
HSLhsl(180, 8%, 95%)
HWBhwb(180 95% 5%)
CMYK (naive, no ICC profile)cmyk(1%, 0%, 0%, 5%)
Decimal15,856,627
Utility classesbg-mist-100, text-mist-100, border-mist-100

Tailwind mist scale

Contrast and accessibility

On mist-100, black text has a contrast ratio of 18.85:1 and passes AAA at any text size; white text reaches 1.11: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 mist-10018.85:1PassPassPassPass98.6
White text on mist-1001.11:1FailFailFailFail0.0
Mist-100 text on white1.11:1FailFailFailFail0.0
Mist-100 text on black18.85:1PassPassPassPass−99.7

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #f2f4f4
  2. 15%
    #f3f5f5
  3. 25%
    #f5f6f6
  4. 35%
    #f6f7f7
  5. 45%
    #f7f8f8
  6. 55%
    #f9fafa
  7. 65%
    #fafbfb
  8. 75%
    #fcfcfc
  9. 85%
    #fdfdfd
  10. 95%
    #fefefe

Shades (mixed with black)

  1. 5%
    #e5e7e7
  2. 15%
    #cdcfcf
  3. 25%
    #b5b6b6
  4. 35%
    #9d9e9e
  5. 45%
    #858686
  6. 55%
    #6c6d6d
  7. 65%
    #545555
  8. 75%
    #3c3d3d
  9. 85%
    #242424
  10. 95%
    #0c0c0c

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, mist-100's complementary color is #F4F2F2 (close to whitesmoke), its analogous colors are #F1F3F2 and #F1F3F4, and its triadic partners are #F3F2F4 and #F3F3F1. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f4f2f2
Analogous−30°, +30°#f1f3f2#f1f3f4
Triadic+120°, +240°#f3f2f4#f3f3f1
Split-complementary+150°, +210°#f4f2f3#f4f2f2

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 mist-100 is close to neutral: its OKLCH chroma is only 0.002, 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.7
aliceblue#f0f8ff1.7
linen#faf0e61.9

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
zinc-100#f4f4f50.5
gray-100#f3f4f60.5
taupe-100#f3f1f10.5

Code snippets

Tailwind CSS
<div class="bg-mist-100 text-black">...</div>
<p class="text-mist-100 border-mist-100">...</p>
CSS
.element {
  color: var(--color-mist-100);
  background-color: oklch(96.3% 0.002 197.1);
  border-color: #f1f3f3;
  outline-color: rgb(241 243 243);
}
SwiftUI
import SwiftUI

extension Color {
  static let mist100 = Color(red: 0.945, green: 0.953, blue: 0.953)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const mist100 = Color(0xFFF1F3F3);
Android XML
<!-- res/values/colors.xml -->
<color name="mist_100">#F1F3F3</color>

Frequently asked questions

What is the hex code for Tailwind mist-100?
In Tailwind CSS v4, mist-100 is oklch(96.3% 0.002 197.1), which converts to #F1F3F3 (rgb(241, 243, 243)) in sRGB.
Is mist-100 available in Tailwind v3?
No. The mist scale was added in Tailwind CSS v4.2. In v3 you can recreate it in tailwind.config.js under theme.extend.colors with the hex #F1F3F3.
How do I use mist-100 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mist-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on mist-100?
White text on mist-100 has a contrast ratio of 1.11:1, which fails AA even for large text under WCAG 2.2. Black text reaches 18.85:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 98.6 for black.
Which CSS named color is closest to mist-100?
The closest is whitesmoke (#F5F5F5) at ΔE OK 0.7, followed by aliceblue and linen.

Last reviewed by Arielton Oberek.