#7F391F

Closest named color: Rust Brown (#8B3103). oklch(43.3% 0.105 40.2), rgb(127, 57, 31).

Aa

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

About this color

#7F391F is a dark, moderately saturated brown. In OKLCH its lightness is 43%, its chroma 0.105 and its hue 40°. Its hue sits on the warm side of the wheel. The nearest named color is Rust Brown (#8B3103), ΔE 0.028 away. White text reads best on it, at 8.37:1.

Hue familyBrowns
Lightnessdark (43%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameRust Brown (#8B3103)
Black text2.50:1
White text8.37:1

Values

HEX#7F391F
RGBrgb(127, 57, 31)
HSLhsl(16, 61%, 31%)
OKLCHoklch(43.3% 0.105 40.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 #7F391F 8.37:1 AAA Lc -93.0 Preferred for body text
Black text on #7F391F 2.50:1 Fails Lc 15.6 Dividers and decoration only
#7F391F text on white 8.37:1 AAA Lc 88.4 Fine for body text
#7F391F text on black 2.50:1 Fails Lc -13.8 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 800.

  1. Step 50

    50

    #FBF4F1

    oklch(97.2% 0.009 44.9)

  2. Step 100

    100

    #F5E6E1

    oklch(93.5% 0.018 39.4)

  3. Step 200

    200

    #EED2C9

    oklch(88.5% 0.034 38.6)

  4. Step 300

    300

    #E4B4A3

    oklch(80.9% 0.061 40.4)

  5. Step 400

    400

    #D58B71

    oklch(70.6% 0.098 40.1)

  6. Step 500

    500

    #C86D4C

    oklch(63.2% 0.125 40.4)

  7. Step 600

    600

    #B3522E

    oklch(55.5% 0.136 40.1)

  8. Step 700

    700

    #9A4221

    oklch(49% 0.127 40)

  9. Step 800

    800 (this color)

    #7F391F

    oklch(43.3% 0.105 40.2)

  10. Step 900

    900

    #65311E

    oklch(37.8% 0.081 40.4)

  11. Step 950

    950

    #3B1D12

    oklch(27% 0.051 40.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F391F 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)#4C441C0.101
Deuteranopia (no green cones)#5D541D0.094
Tritanopia (no blue cones)#8C2A330.051
Achromatopsia (no color)#4E4E4E0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F391F

    #7F391F

    oklch(43.3% 0.105 40.2)

  • #005A6F

    #005A6F

    oklch(43.3% 0.079 220.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F391F

    #7F391F

    oklch(43.3% 0.105 40.2)

  • #7F3443

    #7F3443

    oklch(43.3% 0.105 10.2)

  • #714600

    #714600

    oklch(43.4% 0.094 70.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F391F

    #7F391F

    oklch(43.3% 0.105 40.2)

  • #005D5A

    #005D5A

    oklch(43.2% 0.074 190.9)

  • #1A5387

    #1A5387

    oklch(43.3% 0.104 250)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F391F

    #7F391F

    oklch(43.3% 0.105 40.2)

  • #00603E

    #00603E

    oklch(43.2% 0.097 160.6)

  • #474888

    #474888

    oklch(43.3% 0.104 280.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F391F

    #7F391F

    oklch(43.3% 0.105 40.2)

  • #3D5B13

    #3D5B13

    oklch(43.2% 0.104 129.9)

  • #005A6F

    #005A6F

    oklch(43.3% 0.079 220.8)

  • #623E7B

    #623E7B

    oklch(43.3% 0.105 309.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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