#7E310D

Closest named color: Rust Brown (#8B3103). oklch(41.7% 0.116 41.9), rgb(126, 49, 13).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (42%)
Chromamoderately saturated (0.116)
Temperaturewarm
Nearest nameRust Brown (#8B3103)
Black text2.33:1
White text9.00:1

Values

HEX#7E310D
RGBrgb(126, 49, 13)
HSLhsl(19, 81%, 27%)
OKLCHoklch(41.7% 0.116 41.9)

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 #7E310D 9.00:1 AAA Lc -94.4 Preferred for body text
Black text on #7E310D 2.33:1 Fails Lc 14.0 Not readable
#7E310D text on white 9.00:1 AAA Lc 90.0 Fine for body text
#7E310D text on black 2.33:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #FBF4F1

    oklch(97.2% 0.009 44.9)

  2. Step 100

    100

    #F6E6E0

    oklch(93.6% 0.019 41.8)

  3. Step 200

    200

    #F0D2C6

    oklch(88.6% 0.038 43.1)

  4. Step 300

    300

    #E8B39F

    oklch(81% 0.068 41.6)

  5. Step 400

    400

    #DA896A

    oklch(70.7% 0.109 41.6)

  6. Step 500

    500

    #CD6940

    oklch(63% 0.138 42.1)

  7. Step 600

    600

    #B94E1D

    oklch(55.7% 0.151 42.1)

  8. Step 700

    700

    #9F3E0E

    oklch(49.1% 0.14 42)

  9. Step 800

    800 (this color)

    #7E310D

    oklch(41.7% 0.116 41.9)

  10. Step 900

    900

    #682E16

    oklch(37.6% 0.091 41.8)

  11. Step 950

    950

    #3D1C0E

    oklch(27% 0.057 42.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E310D 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)#473E060.113
Deuteranopia (no green cones)#5A50090.103
Tritanopia (no blue cones)#8B1E2A0.056
Achromatopsia (no color)#4949490.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E310D

    #7E310D

    oklch(41.7% 0.116 41.9)

  • #00556A

    #00556A

    oklch(41.7% 0.077 221.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E310D

    #7E310D

    oklch(41.7% 0.116 41.9)

  • #7F2B3B

    #7F2B3B

    oklch(41.8% 0.116 12.3)

  • #6A4300

    #6A4300

    oklch(41.8% 0.09 72)

Open the analogous palette in the generator

Split complementary

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

  • #7E310D

    #7E310D

    oklch(41.7% 0.116 41.9)

  • #005856

    #005856

    oklch(41.6% 0.071 192.1)

  • #0D4D89

    #0D4D89

    oklch(41.7% 0.117 252.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E310D

    #7E310D

    oklch(41.7% 0.116 41.9)

  • #005B3C

    #005B3C

    oklch(41.6% 0.092 161.7)

  • #444189

    #444189

    oklch(41.7% 0.116 282)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E310D

    #7E310D

    oklch(41.7% 0.116 41.9)

  • #335800

    #335800

    oklch(41.6% 0.115 131.9)

  • #00556A

    #00556A

    oklch(41.7% 0.077 221.9)

  • #613679

    #613679

    oklch(41.7% 0.116 312)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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