#40412A

Closest named color: Charcoal Grey (#3C4142). oklch(36.8% 0.037 110.2), rgb(64, 65, 42).

Aa

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

About this color

#40412A is a dark, muted brown. In OKLCH its lightness is 37%, its chroma 0.037 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.039 away. White text reads best on it, at 10.46:1.

Hue familyBrowns
Lightnessdark (37%)
Chromamuted (0.037)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.00:1
White text10.46:1

Values

HEX#40412A
RGBrgb(64, 65, 42)
HSLhsl(63, 21%, 21%)
OKLCHoklch(36.8% 0.037 110.2)

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 #40412A 10.46:1 AAA Lc -98.3 Preferred for body text
Black text on #40412A 2.00:1 Fails Lc 9.6 Not readable
#40412A text on white 10.46:1 AAA Lc 94.3 Preferred for body text
#40412A text on black 2.00:1 Fails Lc -8.3 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 900.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACF

    oklch(88.5% 0.015 110.9)

  4. Step 300

    300

    #C1C3AE

    oklch(81% 0.029 111.5)

  5. Step 400

    400

    #A2A384

    oklch(70.6% 0.043 109)

  6. Step 500

    500

    #8B8D65

    oklch(63.1% 0.057 110.3)

  7. Step 600

    600

    #75774C

    oklch(55.6% 0.062 110.5)

  8. Step 700

    700

    #62643D

    oklch(49.1% 0.057 110.8)

  9. Step 800

    800

    #505133

    oklch(42.6% 0.046 109.8)

  10. Step 900

    900 (this color)

    #40412A

    oklch(36.8% 0.037 110.2)

  11. Step 950

    950

    #27281A

    oklch(27.1% 0.025 111.3)

Export this scale for Tailwind in the Tailwind colors tool

#40412A 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)#453F280.010
Deuteranopia (no green cones)#45402B0.009
Tritanopia (no blue cones)#433E3B0.033
Achromatopsia (no color)#3F3F3F0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #40412A

    #40412A

    oklch(36.8% 0.037 110.2)

  • #3F3C52

    #3F3C52

    oklch(36.8% 0.038 290.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40412A

    #40412A

    oklch(36.8% 0.037 110.2)

  • #493D28

    #493D28

    oklch(36.7% 0.037 81.1)

  • #354432

    #354432

    oklch(36.8% 0.036 140.4)

Open the analogous palette in the generator

Split complementary

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

  • #40412A

    #40412A

    oklch(36.8% 0.037 110.2)

  • #344053

    #344053

    oklch(36.9% 0.037 259.5)

  • #48394B

    #48394B

    oklch(36.8% 0.036 320.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40412A

    #40412A

    oklch(36.8% 0.037 110.2)

  • #2A434F

    #2A434F

    oklch(36.8% 0.037 229.7)

  • #4E3742

    #4E3742

    oklch(36.7% 0.037 348.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40412A

    #40412A

    oklch(36.8% 0.037 110.2)

  • #264547

    #264547

    oklch(36.7% 0.037 201)

  • #3F3C52

    #3F3C52

    oklch(36.8% 0.038 290.7)

  • #513737

    #513737

    oklch(36.7% 0.037 19)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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