#40221A

Closest named color: Chocolate Brown (#411900). oklch(29% 0.049 35.8), rgb(64, 34, 26).

Aa

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

About this color

#40221A is a dark, muted red. In OKLCH its lightness is 29%, its chroma 0.049 and its hue 36°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.034 away. White text reads best on it, at 14.36:1.

Hue familyReds
Lightnessdark (29%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.46:1
White text14.36:1

Values

HEX#40221A
RGBrgb(64, 34, 26)
HSLhsl(13, 42%, 18%)
OKLCHoklch(29% 0.049 35.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 #40221A 14.36:1 AAA Lc -103.9 Preferred for body text
Black text on #40221A 1.46:1 Fails Lc 0.0 Not readable
#40221A text on white 14.36:1 AAA Lc 101.0 Preferred for body text
#40221A text on black 1.46: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

    #FAF4F2

    oklch(97.1% 0.007 39.5)

  2. Step 100

    100

    #F5E6E2

    oklch(93.6% 0.017 35.3)

  3. Step 200

    200

    #EDD2CB

    oklch(88.4% 0.032 34.9)

  4. Step 300

    300

    #E3B4A7

    oklch(80.9% 0.058 36)

  5. Step 400

    400

    #D38C79

    oklch(70.7% 0.092 35.7)

  6. Step 500

    500

    #C66D56

    oklch(63.1% 0.119 35.4)

  7. Step 600

    600

    #B1543B

    oklch(55.7% 0.128 36)

  8. Step 700

    700

    #98432D

    oklch(49% 0.12 35.6)

  9. Step 800

    800

    #7B3826

    oklch(42.6% 0.098 36)

  10. Step 900

    900

    #643124

    oklch(37.7% 0.077 35.3)

  11. Step 950

    950 (this color)

    #40221A

    oklch(29% 0.049 35.8)

Export this scale for Tailwind in the Tailwind colors tool

#40221A 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)#2926190.048
Deuteranopia (no green cones)#312C1A0.042
Tritanopia (no blue cones)#461D200.023
Achromatopsia (no color)#2A2A2A0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #40221A

    #40221A

    oklch(29% 0.049 35.8)

  • #04313B

    #04313B

    oklch(29% 0.049 216.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40221A

    #40221A

    oklch(29% 0.049 35.8)

  • #3F2028

    #3F2028

    oklch(28.8% 0.049 4)

  • #3C260F

    #3C260F

    oklch(29.1% 0.049 65)

Open the analogous palette in the generator

Split complementary

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

  • #40221A

    #40221A

    oklch(29% 0.049 35.8)

  • #03332F

    #03332F

    oklch(29% 0.049 186.3)

  • #152D42

    #152D42

    oklch(28.9% 0.049 246.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40221A

    #40221A

    oklch(29% 0.049 35.8)

  • #153221

    #153221

    oklch(28.9% 0.047 156.1)

  • #252943

    #252943

    oklch(29% 0.048 276.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40221A

    #40221A

    oklch(29% 0.049 35.8)

  • #253013

    #253013

    oklch(29.1% 0.05 126.5)

  • #04313B

    #04313B

    oklch(29% 0.049 216.9)

  • #31253E

    #31253E

    oklch(29% 0.047 305.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40221A 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.