#401C28

Closest named color: Chocolate Brown (#411900). oklch(28.2% 0.058 0.3), rgb(64, 28, 40).

Aa

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

About this color

#401C28 is a dark, muted red. In OKLCH its lightness is 28%, its chroma 0.058 and its hue 0°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.057 away. White text reads best on it, at 14.84:1.

Hue familyReds
Lightnessdark (28%)
Chromamuted (0.058)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.41:1
White text14.84:1

Values

HEX#401C28
RGBrgb(64, 28, 40)
HSLhsl(340, 39%, 18%)
OKLCHoklch(28.2% 0.058 0.3)

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 #401C28 14.84:1 AAA Lc -104.3 Preferred for body text
Black text on #401C28 1.41:1 Fails Lc 0.0 Not readable
#401C28 text on white 14.84:1 AAA Lc 101.5 Preferred for body text
#401C28 text on black 1.41: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

    #F6E5E9

    oklch(93.7% 0.019 1.4)

  3. Step 200

    200

    #F0CFD8

    oklch(88.5% 0.039 359.6)

  4. Step 300

    300

    #E7AFBE

    oklch(81% 0.068 1)

  5. Step 400

    400

    #D9839D

    oklch(70.8% 0.11 0.8)

  6. Step 500

    500

    #CC6185

    oklch(63.2% 0.14 0.7)

  7. Step 600

    600

    #B7456F

    oklch(55.7% 0.152 0.5)

  8. Step 700

    700

    #9D355D

    oklch(49% 0.143 0.1)

  9. Step 800

    800

    #802D4C

    oklch(42.7% 0.118 0.3)

  10. Step 900

    900

    #672A3F

    oklch(37.8% 0.091 0.8)

  11. Step 950

    950 (this color)

    #401C28

    oklch(28.2% 0.058 0.3)

Export this scale for Tailwind in the Tailwind colors tool

#401C28 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)#2223280.063
Deuteranopia (no green cones)#2B2A270.058
Tritanopia (no blue cones)#4519200.017
Achromatopsia (no color)#2727270.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #401C28

    #401C28

    oklch(28.2% 0.058 0.3)

  • #00312A

    #00312A

    oklch(28.1% 0.051 180.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401C28

    #401C28

    oklch(28.2% 0.058 0.3)

  • #391E37

    #391E37

    oklch(28.2% 0.058 329.7)

  • #421D17

    #421D17

    oklch(28.2% 0.059 30.7)

Open the analogous palette in the generator

Split complementary

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

  • #401C28

    #401C28

    oklch(28.2% 0.058 0.3)

  • #10311A

    #10311A

    oklch(28.1% 0.057 151)

  • #003037

    #003037

    oklch(28.3% 0.049 210)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401C28

    #401C28

    oklch(28.2% 0.058 0.3)

  • #262D08

    #262D08

    oklch(28.1% 0.057 119.4)

  • #072D43

    #072D43

    oklch(28.4% 0.058 239.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401C28

    #401C28

    oklch(28.2% 0.058 0.3)

  • #342800

    #342800

    oklch(28.3% 0.058 91.4)

  • #00312A

    #00312A

    oklch(28.1% 0.051 180.2)

  • #1E2746

    #1E2746

    oklch(28.1% 0.059 270.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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