#7F3302

Closest named color: Rust Brown (#8B3103). oklch(42.1% 0.118 45.6), rgb(127, 51, 2).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (42%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameRust Brown (#8B3103)
Black text2.37:1
White text8.83:1

Values

HEX#7F3302
RGBrgb(127, 51, 2)
HSLhsl(24, 97%, 25%)
OKLCHoklch(42.1% 0.118 45.6)

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 #7F3302 8.83:1 AAA Lc -94.0 Preferred for body text
Black text on #7F3302 2.37:1 Fails Lc 14.5 Not readable
#7F3302 text on white 8.83:1 AAA Lc 89.5 Fine for body text
#7F3302 text on black 2.37:1 Fails Lc -12.7 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

    #FBF4F0

    oklch(97.1% 0.009 52.1)

  2. Step 100

    100

    #F6E6DF

    oklch(93.6% 0.02 45.3)

  3. Step 200

    200

    #F0D2C5

    oklch(88.5% 0.038 44.8)

  4. Step 300

    300

    #E7B39C

    oklch(80.8% 0.069 45)

  5. Step 400

    400

    #D98A65

    oklch(70.7% 0.11 45.6)

  6. Step 500

    500

    #CD6A38

    oklch(63.1% 0.141 45.6)

  7. Step 600

    600

    #B84F0B

    oklch(55.6% 0.152 45.8)

  8. Step 700

    700

    #9D4000

    oklch(49% 0.139 45.7)

  9. Step 800

    800 (this color)

    #7F3302

    oklch(42.1% 0.118 45.6)

  10. Step 900

    900

    #682F10

    oklch(37.8% 0.092 45.9)

  11. Step 950

    950

    #3D1C0C

    oklch(27% 0.058 45.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F3302 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)#493F000.109
Deuteranopia (no green cones)#5C51000.099
Tritanopia (no blue cones)#8C202B0.062
Achromatopsia (no color)#4A4A4A0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F3302

    #7F3302

    oklch(42.1% 0.118 45.6)

  • #00566F

    #00566F

    oklch(42.2% 0.081 225.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F3302

    #7F3302

    oklch(42.1% 0.118 45.6)

  • #812C37

    #812C37

    oklch(42.2% 0.117 16.1)

  • #694500

    #694500

    oklch(42.1% 0.089 75.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F3302

    #7F3302

    oklch(42.1% 0.118 45.6)

  • #00595A

    #00595A

    oklch(42.1% 0.072 196.1)

  • #194D8C

    #194D8C

    oklch(42.2% 0.118 255.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F3302

    #7F3302

    oklch(42.1% 0.118 45.6)

  • #005C42

    #005C42

    oklch(42.1% 0.087 165.9)

  • #49418A

    #49418A

    oklch(42.2% 0.117 285.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F3302

    #7F3302

    oklch(42.1% 0.118 45.6)

  • #2D5B0A

    #2D5B0A

    oklch(42.2% 0.118 135.7)

  • #00566F

    #00566F

    oklch(42.2% 0.081 225.9)

  • #663678

    #663678

    oklch(42.2% 0.117 316)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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