#7F401F

Closest named color: Saddle Brown (#8B4513). oklch(44.5% 0.098 46.3), rgb(127, 64, 31).

Aa

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

About this color

#7F401F is a dark, moderately saturated brown. In OKLCH its lightness is 44%, its chroma 0.098 and its hue 46°. Its hue sits on the warm side of the wheel. The nearest named color is Saddle Brown (#8B4513), ΔE 0.030 away. White text reads best on it, at 7.90:1.

Hue familyBrowns
Lightnessdark (44%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameSaddle Brown (#8B4513)
Black text2.65:1
White text7.90:1

Values

HEX#7F401F
RGBrgb(127, 64, 31)
HSLhsl(21, 61%, 31%)
OKLCHoklch(44.5% 0.098 46.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 #7F401F 7.90:1 AAA Lc -91.8 Preferred for body text
Black text on #7F401F 2.65:1 Fails Lc 17.0 Dividers and decoration only
#7F401F text on white 7.90:1 AAA Lc 87.0 Fine for body text
#7F401F text on black 2.65:1 Fails Lc -15.1 Dividers and decoration only

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 800.

  1. Step 50

    50

    #FAF4F1

    oklch(97.1% 0.008 48.7)

  2. Step 100

    100

    #F4E7E1

    oklch(93.7% 0.016 46.6)

  3. Step 200

    200

    #ECD3C8

    oklch(88.5% 0.032 45.3)

  4. Step 300

    300

    #E1B6A2

    oklch(80.9% 0.057 46.3)

  5. Step 400

    400

    #D18F6F

    oklch(70.8% 0.092 46.7)

  6. Step 500

    500

    #C37148

    oklch(63.1% 0.118 46.4)

  7. Step 600

    600

    #AE5829

    oklch(55.6% 0.127 46.7)

  8. Step 700

    700

    #95471C

    oklch(49% 0.118 46.3)

  9. Step 800

    800 (this color)

    #7F401F

    oklch(44.5% 0.098 46.3)

  10. Step 900

    900

    #62331B

    oklch(37.7% 0.077 46.4)

  11. Step 950

    950

    #3A1E11

    oklch(27% 0.049 45)

Export this scale for Tailwind in the Tailwind colors tool

#7F401F 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)#52491B0.088
Deuteranopia (no green cones)#61571E0.081
Tritanopia (no blue cones)#8B33390.055
Achromatopsia (no color)#5151510.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F401F

    #7F401F

    oklch(44.5% 0.098 46.3)

  • #005D78

    #005D78

    oklch(44.6% 0.085 226.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F401F

    #7F401F

    oklch(44.5% 0.098 46.3)

  • #813A41

    #813A41

    oklch(44.4% 0.098 15.9)

  • #714B00

    #714B00

    oklch(44.4% 0.093 75.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F401F

    #7F401F

    oklch(44.5% 0.098 46.3)

  • #006162

    #006162

    oklch(44.6% 0.076 196)

  • #2D5489

    #2D5489

    oklch(44.4% 0.098 256.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F401F

    #7F401F

    oklch(44.5% 0.098 46.3)

  • #006448

    #006448

    oklch(44.6% 0.093 165.9)

  • #504A87

    #504A87

    oklch(44.4% 0.098 286.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F401F

    #7F401F

    oklch(44.5% 0.098 46.3)

  • #396025

    #396025

    oklch(44.5% 0.098 136.3)

  • #005D78

    #005D78

    oklch(44.6% 0.085 226.1)

  • #694178

    #694178

    oklch(44.5% 0.098 316.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7F401F 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.