#40120A

Closest named color: Chocolate Brown (#411900). oklch(25.7% 0.074 32.1), rgb(64, 18, 10).

Aa

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

About this color

#40120A is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.074 and its hue 32°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.025 away. White text reads best on it, at 16.04:1.

Hue familyReds
Lightnessdark (26%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.30:1
White text16.04:1

Values

HEX#40120A
RGBrgb(64, 18, 10)
HSLhsl(9, 73%, 15%)
OKLCHoklch(25.7% 0.074 32.1)

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 #40120A 16.04:1 AAA Lc -105.2 Preferred for body text
Black text on #40120A 1.30:1 Fails Lc 0.0 Not readable
#40120A text on white 16.04:1 AAA Lc 102.5 Preferred for body text
#40120A text on black 1.30: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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FAE4DF

    oklch(93.5% 0.025 32.9)

  3. Step 200

    200

    #F8CEC5

    oklch(88.5% 0.049 32.1)

  4. Step 300

    300

    #F4AC9D

    oklch(80.9% 0.088 32.1)

  5. Step 400

    400

    #EA7D68

    oklch(70.7% 0.139 32.1)

  6. Step 500

    500

    #E0553D

    oklch(63% 0.178 32.1)

  7. Step 600

    600

    #CC3218

    oklch(55.6% 0.194 32)

  8. Step 700

    700

    #B02207

    oklch(49.1% 0.181 32.1)

  9. Step 800

    800

    #8F200D

    oklch(42.8% 0.149 32.1)

  10. Step 900

    900

    #732214

    oklch(37.8% 0.117 32.2)

  11. Step 950

    950 (this color)

    #40120A

    oklch(25.7% 0.074 32.1)

Export this scale for Tailwind in the Tailwind colors tool

#40120A 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)#1F1B090.076
Deuteranopia (no green cones)#2A25090.070
Tritanopia (no blue cones)#4707100.027
Achromatopsia (no color)#2121210.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #40120A

    #40120A

    oklch(25.7% 0.074 32.1)

  • #002930

    #002930

    oklch(25.8% 0.045 211.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40120A

    #40120A

    oklch(25.7% 0.074 32.1)

  • #3E1020

    #3E1020

    oklch(25.6% 0.074 2.4)

  • #371C00

    #371C00

    oklch(25.8% 0.059 63)

Open the analogous palette in the generator

Split complementary

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

  • #40120A

    #40120A

    oklch(25.7% 0.074 32.1)

  • #002A25

    #002A25

    oklch(25.6% 0.046 182.9)

  • #00263E

    #00263E

    oklch(25.7% 0.061 242)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40120A

    #40120A

    oklch(25.7% 0.074 32.1)

  • #002C12

    #002C12

    oklch(25.7% 0.067 152.3)

  • #181F46

    #181F46

    oklch(25.7% 0.073 272.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40120A

    #40120A

    oklch(25.7% 0.074 32.1)

  • #1E2800

    #1E2800

    oklch(25.8% 0.063 122.8)

  • #002930

    #002930

    oklch(25.8% 0.045 211.9)

  • #2A1940

    #2A1940

    oklch(25.7% 0.072 301.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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