#40201F

Closest named color: Chocolate Brown (#411900). oklch(28.7% 0.05 22.5), rgb(64, 32, 31).

Aa

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

About this color

#40201F is a dark, muted red. In OKLCH its lightness is 29%, its chroma 0.050 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.040 away. White text reads best on it, at 14.53:1.

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

Values

HEX#40201F
RGBrgb(64, 32, 31)
HSLhsl(2, 35%, 19%)
OKLCHoklch(28.7% 0.05 22.5)

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 #40201F 14.53:1 AAA Lc -104.1 Preferred for body text
Black text on #40201F 1.44:1 Fails Lc 0.0 Not readable
#40201F text on white 14.53:1 AAA Lc 101.2 Preferred for body text
#40201F 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

    #FBF3F3

    oklch(97% 0.009 17.3)

  2. Step 100

    100

    #F5E6E5

    oklch(93.7% 0.016 22.1)

  3. Step 200

    200

    #EED1CF

    oklch(88.4% 0.033 22.5)

  4. Step 300

    300

    #E4B2AF

    oklch(80.8% 0.059 22.4)

  5. Step 400

    400

    #D58985

    oklch(70.7% 0.094 23)

  6. Step 500

    500

    #C86A67

    oklch(63.2% 0.12 22.9)

  7. Step 600

    600

    #B34F4F

    oklch(55.6% 0.131 22.3)

  8. Step 700

    700

    #9A3F40

    oklch(49.1% 0.122 22)

  9. Step 800

    800

    #7D3535

    oklch(42.7% 0.101 22.3)

  10. Step 900

    900

    #652F2E

    oklch(37.8% 0.078 22.6)

  11. Step 950

    950 (this color)

    #40201F

    oklch(28.7% 0.05 22.5)

Export this scale for Tailwind in the Tailwind colors tool

#40201F 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)#27251F0.052
Deuteranopia (no green cones)#2F2C1E0.050
Tritanopia (no blue cones)#461C200.016
Achromatopsia (no color)#2929290.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #40201F

    #40201F

    oklch(28.7% 0.05 22.5)

  • #003135

    #003135

    oklch(28.5% 0.049 203.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40201F

    #40201F

    oklch(28.7% 0.05 22.5)

  • #3D202D

    #3D202D

    oklch(28.7% 0.049 352.3)

  • #3E2312

    #3E2312

    oklch(28.7% 0.05 51.8)

Open the analogous palette in the generator

Split complementary

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

  • #40201F

    #40201F

    oklch(28.7% 0.05 22.5)

  • #083228

    #083228

    oklch(28.6% 0.049 173.2)

  • #0B2F3F

    #0B2F3F

    oklch(28.8% 0.049 231.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40201F

    #40201F

    oklch(28.7% 0.05 22.5)

  • #1B311A

    #1B311A

    oklch(28.8% 0.05 143.2)

  • #1D2A43

    #1D2A43

    oklch(28.6% 0.05 262.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40201F

    #40201F

    oklch(28.7% 0.05 22.5)

  • #2B2D0D

    #2B2D0D

    oklch(28.7% 0.05 112.4)

  • #003135

    #003135

    oklch(28.5% 0.049 203.5)

  • #2B2641

    #2B2641

    oklch(28.7% 0.049 291.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40201F 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.