#400223

Closest named color: Dark Plum (#3F012C). oklch(24.5% 0.097 354.7), rgb(64, 2, 35).

Aa

White text reads best on this color (16.78:1).

About this color

#400223 is a very dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.097 and its hue 355°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.019 away. White text reads best on it, at 16.78:1.

Hue familyReds
Lightnessvery dark (25%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.25:1
White text16.78:1

Values

HEX#400223
RGBrgb(64, 2, 35)
HSLhsl(328, 94%, 13%)
OKLCHoklch(24.5% 0.097 354.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #400223 16.78:1 AAA Lc -105.4 Preferred for body text
Black text on #400223 1.25:1 Fails Lc 0.0 Not readable
#400223 text on white 16.78:1 AAA Lc 102.7 Preferred for body text
#400223 text on black 1.25:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #FFF1F6

    oklch(97.1% 0.016 353.6)

  2. Step 100

    100

    #FDE1EB

    oklch(93.5% 0.033 354.1)

  3. Step 200

    200

    #FDC8DB

    oklch(88.5% 0.065 355.1)

  4. Step 300

    300

    #FBA1C5

    oklch(80.9% 0.115 354.4)

  5. Step 400

    400

    #F467A7

    oklch(70.6% 0.184 354.5)

  6. Step 500

    500

    #EB2C91

    oklch(63% 0.235 354.7)

  7. Step 600

    600

    #CE007B

    oklch(55.6% 0.229 354.6)

  8. Step 700

    700

    #AE0067

    oklch(49.1% 0.202 354.6)

  9. Step 800

    800

    #900054

    oklch(42.7% 0.175 354.8)

  10. Step 900

    900

    #790246

    oklch(37.7% 0.153 354.8)

  11. Step 950

    950 (this color)

    #400223

    oklch(24.5% 0.097 354.7)

Export this scale for Tailwind in the Tailwind colors tool

#400223 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1016240.110
Deuteranopia (no green cones)#2121220.096
Tritanopia (no blue cones)#4600110.036
Achromatopsia (no color)#1D1D1D0.098

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #400223

    #400223

    oklch(24.5% 0.097 354.7)

  • #00271F

    #00271F

    oklch(24.4% 0.046 175.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400223

    #400223

    oklch(24.5% 0.097 354.7)

  • #360939

    #360939

    oklch(24.6% 0.096 325.3)

  • #440106

    #440106

    oklch(24.5% 0.097 24.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #400223

    #400223

    oklch(24.5% 0.097 354.7)

  • #002904

    #002904

    oklch(24.4% 0.078 144.5)

  • #00262A

    #00262A

    oklch(24.5% 0.042 205.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400223

    #400223

    oklch(24.5% 0.097 354.7)

  • #202300

    #202300

    oklch(24.5% 0.055 114.4)

  • #002435

    #002435

    oklch(24.5% 0.051 233.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400223

    #400223

    oklch(24.5% 0.097 354.7)

  • #2B1E00

    #2B1E00

    oklch(24.4% 0.05 85.4)

  • #00271F

    #00271F

    oklch(24.4% 0.046 175.5)

  • #081B4E

    #081B4E

    oklch(24.6% 0.097 264.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #400223, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #400223 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.