Tailwind CSS v3 color

Tailwind fuchsia-200 #F5D0FE

Tailwind CSS v3's fuchsia-200 is #F5D0FE. It is a pale muted magenta in the violet family. In OKLCH it sits at lightness 0.903, chroma 0.073 and hue 319.6°. The nearest CSS named color is thistle (#D8BFD8), ΔE2000 7.9 away.

Relative luminance
0.7168
OKLCH L · C · h
0.903 · 0.073 · 319.6
Best text
Black 15.33:1
Hue family
Violet

#F5D0FE color codes

HEX
#F5D0FE
RGB
rgb(245, 208, 254)
HSL
hsl(288, 96%, 91%)
OKLCH
oklch(0.903 0.073 319.6)
OKLab
oklab(0.903 0.056 -0.047)
CIELAB (D65)
L* 87.81, a* 20.84, b* -17.64
XYZ (D65)
X 78.10, Y 71.68, Z 103.47
CMYK (naive)
cmyk(4%, 18%, 0%, 0%)

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

Black text on it reaches 15.33:1, passing AAA. White text fails at 1.36:1.

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

    15.33:1

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

    1.36:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −20

    Text is here, unreadable at 1.36:1

  • As text on black

    15.33:1

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

    1.36:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +18

    Text is here, unreadable at 1.36:1

Nearest versions that pass 4.5:1

  • For text on white

    #8B6A94 4.57:1

    Darkening its OKLCH lightness from 0.90 to 0.57 reaches 4.57:1 on white, keeping the hue.

  • For text on black

    #F5D0FE 15.33:1

    It already reaches 15.33:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FCF1FF
    White
    1.09
    Black
    19.16
  2. 100#F9E2FF
    White
    1.21
    Black
    17.35
  3. 200This color#F5D0FE
    White
    1.36
    Black
    15.33
  4. 300#D2B0DA
    White
    1.91
    Black
    10.96
  5. 400#B693BE
    White
    2.65
    Black
    7.90
  6. 500#9A78A2
    White
    3.76
    Black
    5.58
  7. 600#816189
    White
    5.24
    Black
    4.00
  8. 700#694B71
    White
    7.37
    Black
    2.84
  9. 800#4F3356
    White
    10.82
    Black
    1.94
  10. 900#361E3C
    White
    14.91
    Black
    1.40
  11. 950#210C25
    White
    18.35
    Black
    1.14

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

Tailwind CSS v3 fuchsia scale

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

  1. 50#FDF4FF
    White
    1.07
    Black
    19.56
  2. 100#FAE8FF
    White
    1.16
    Black
    18.05
  3. 200This color#F5D0FE
    White
    1.36
    Black
    15.33
  4. 300#F0ABFC
    White
    1.75
    Black
    11.93
  5. 400#E879F9
    White
    2.46
    Black
    8.53
  6. 500#D946EF
    White
    3.45
    Black
    6.07
  7. 600#C026D3
    White
    4.70
    Black
    4.45
  8. 700#A21CAF
    White
    6.32
    Black
    3.32
  9. 800#86198F
    White
    8.23
    Black
    2.54
  10. 900#701A75
    White
    10.03
    Black
    2.09
  11. 950#4A044E
    White
    14.80
    Black
    1.41

Gamut

How vivid #F5D0FE can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.076; #F5D0FE uses 97% of it. Display P3, which many recent phones and laptops show, reaches 0.084 there: 11% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.073
sRGB edge
0.076
Display P3 edge
0.084
Rec. 2020 edge
0.086
Dominant wavelength
Complementary 556 nm
Excitation purity
17%
Chromaticity
x 0.3084, y 0.2830
  • This color#F5D0FE
  • Most vivid in sRGB#F6CFFF
  • Most vivid in Display P3oklch(0.903 0.084 319.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: #f5d0fe;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.9465 0.8124 1); }
}

Mixing

Mixing #F5D0FE

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

Black #000000

  • sRGB50%#7B687F
  • OKLab50%#5F4F63
  • OKLCH50%#5F4F63

Its complement #C6ECBD

  • sRGB50%#DEDEDE
  • OKLab50%#DFDFDF
  • OKLCH50%#B8E7FF
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #f5d0fe, white);
color: color-mix(in oklch, #f5d0fe 50%, white);

In use

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

For text on this page, the nearest shade that passes is #8B6A94 4.57:1

Dark page

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

Color vision

How #F5D0FE looks with color blindness

Achromatopsia changes it most, ΔE2000 19.5; tritanopia changes it least, 10.6.

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

    #CBDAFF ΔE2000 15.7

    Distinct

    Reads as pale muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #D3DEFC ΔE2000 15.2

    Distinct

    Reads as pale grayish blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #F6D4DF ΔE2000 10.6

    Distinct

    Reads as pale grayish pink

  • Achromatopsia

    No cone color vision; lightness only

    #DCDCDC ΔE2000 19.5

    Distinct

    Reads as light gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#F5D0FE · #C6ECBD45.5Stays distinct
Protanopia#CBDAFF · #EFE4BA30.9Stays distinct
Deuteranopia#D3DEFC · #E9E0BF26.2Stays distinct
Tritanopia#F6D4DF · #C4E9DF32.1Stays distinct
Achromatopsia#DCDCDC · #E1E1E11.1Easily confused

Harmony

Color harmonies for #F5D0FE

Its complement is #C6ECBD, a pale muted green.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#F5D0FE
  • Complement#C6ECBD

Complementary

Open in Harmony Studio
  • −30°#DEDAFF
  • Base#F5D0FE
  • +30°#FFCFE5
  • Base#F5D0FE
  • +120°#F9DAA8
  • +240°#A4EEF2
  • Base#F5D0FE
  • +150°#E2E4AC
  • +210°#AFEFD7

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-fuchsia-200: #f5d0fe;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  /* v4 has its own fuchsia-200; this pins the v3 value. */
  --color-fuchsia-200: oklch(0.903 0.073 319.6);
}

Design token (W3C DTCG)

{
  "color": {
    "fuchsia-200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9608, 0.8157, 0.9961],
        "hex": "#f5d0fe"
      },
      "$description": "Tailwind CSS v3 fuchsia-200"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let fuchsia200 = Color(.sRGB, red: 0.961, green: 0.816, blue: 0.996, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Fuchsia200 = Color(0xFFF5D0FE)
}

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

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