#401F2B

Closest named color: Chocolate Brown (#411900). oklch(28.9% 0.054 357.8), rgb(64, 31, 43).

Aa

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

About this color

#401F2B is a dark, muted red. In OKLCH its lightness is 29%, its chroma 0.054 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.060 away. White text reads best on it, at 14.49:1.

Hue familyReds
Lightnessdark (29%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.44:1
White text14.49:1

Values

HEX#401F2B
RGBrgb(64, 31, 43)
HSLhsl(338, 35%, 19%)
OKLCHoklch(28.9% 0.054 357.8)

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 #401F2B 14.49:1 AAA Lc -104.0 Preferred for body text
Black text on #401F2B 1.44:1 Fails Lc 0.0 Not readable
#401F2B text on white 14.49:1 AAA Lc 101.1 Preferred for body text
#401F2B text on black 1.44: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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F5E5EA

    oklch(93.6% 0.019 356.4)

  3. Step 200

    200

    #EED0D9

    oklch(88.5% 0.035 357.8)

  4. Step 300

    300

    #E4B0C0

    oklch(80.9% 0.064 358.4)

  5. Step 400

    400

    #D485A0

    oklch(70.6% 0.102 358)

  6. Step 500

    500

    #C66589

    oklch(63.1% 0.129 357.9)

  7. Step 600

    600

    #B14A73

    oklch(55.5% 0.141 357.8)

  8. Step 700

    700

    #983B61

    oklch(49.1% 0.131 357.6)

  9. Step 800

    800

    #7C314F

    oklch(42.7% 0.109 357.8)

  10. Step 900

    900

    #642C41

    oklch(37.7% 0.085 358.3)

  11. Step 950

    950 (this color)

    #401F2B

    oklch(28.9% 0.054 357.8)

Export this scale for Tailwind in the Tailwind colors tool

#401F2B 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)#24262B0.058
Deuteranopia (no green cones)#2C2C2A0.055
Tritanopia (no blue cones)#451D230.017
Achromatopsia (no color)#2929290.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #401F2B

    #401F2B

    oklch(28.9% 0.054 357.8)

  • #00342B

    #00342B

    oklch(29.1% 0.054 177.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401F2B

    #401F2B

    oklch(28.9% 0.054 357.8)

  • #392139

    #392139

    oklch(28.9% 0.054 326.9)

  • #42201C

    #42201C

    oklch(28.9% 0.053 27.8)

Open the analogous palette in the generator

Split complementary

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

  • #401F2B

    #401F2B

    oklch(28.9% 0.054 357.8)

  • #17321B

    #17321B

    oklch(28.8% 0.053 147.4)

  • #003238

    #003238

    oklch(29% 0.05 207.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401F2B

    #401F2B

    oklch(28.9% 0.054 357.8)

  • #292E0C

    #292E0C

    oklch(28.8% 0.053 116.9)

  • #0B2F42

    #0B2F42

    oklch(29% 0.053 236.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401F2B

    #401F2B

    oklch(28.9% 0.054 357.8)

  • #362905

    #362905

    oklch(28.8% 0.054 88)

  • #00342B

    #00342B

    oklch(29.1% 0.054 177.2)

  • #1F2A46

    #1F2A46

    oklch(29% 0.054 266.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #401F2B 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.