#7F2E02

Closest named color: Rust Brown (#8B3103). oklch(41.4% 0.122 42.5), rgb(127, 46, 2).

Aa

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

About this color

#7F2E02 is a dark, moderately saturated brown. In OKLCH its lightness is 41%, its chroma 0.122 and its hue 43°. 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.15:1.

Hue familyBrowns
Lightnessdark (41%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameRust Brown (#8B3103)
Black text2.29:1
White text9.15:1

Values

HEX#7F2E02
RGBrgb(127, 46, 2)
HSLhsl(21, 97%, 25%)
OKLCHoklch(41.4% 0.122 42.5)

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 #7F2E02 9.15:1 AAA Lc -94.7 Preferred for body text
Black text on #7F2E02 2.29:1 Fails Lc 13.7 Not readable
#7F2E02 text on white 9.15:1 AAA Lc 90.2 Preferred for body text
#7F2E02 text on black 2.29:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #FBF4F0

    oklch(97.1% 0.009 52.1)

  2. Step 100

    100

    #F7E6DF

    oklch(93.7% 0.021 43.9)

  3. Step 200

    200

    #F1D1C5

    oklch(88.4% 0.04 41.7)

  4. Step 300

    300

    #E9B29C

    oklch(80.8% 0.071 42.8)

  5. Step 400

    400

    #DC8866

    oklch(70.7% 0.114 42.6)

  6. Step 500

    500

    #D0673A

    oklch(63.1% 0.146 42.6)

  7. Step 600

    600

    #BC4B10

    oklch(55.6% 0.159 42.6)

  8. Step 700

    700

    #A13B00

    oklch(49% 0.147 42.3)

  9. Step 800

    800 (this color)

    #7F2E02

    oklch(41.4% 0.122 42.5)

  10. Step 900

    900

    #6A2D12

    oklch(37.8% 0.095 42.4)

  11. Step 950

    950

    #3E1B0C

    oklch(27% 0.06 42.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F2E02 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)#463C000.117
Deuteranopia (no green cones)#5A4F000.106
Tritanopia (no blue cones)#8C18270.059
Achromatopsia (no color)#4848480.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2E02

    #7F2E02

    oklch(41.4% 0.122 42.5)

  • #005469

    #005469

    oklch(41.3% 0.076 222.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2E02

    #7F2E02

    oklch(41.4% 0.122 42.5)

  • #802739

    #802739

    oklch(41.4% 0.122 12.3)

  • #684200

    #684200

    oklch(41.3% 0.088 72.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F2E02

    #7F2E02

    oklch(41.4% 0.122 42.5)

  • #005756

    #005756

    oklch(41.3% 0.071 193.4)

  • #054C8B

    #054C8B

    oklch(41.5% 0.122 252.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2E02

    #7F2E02

    oklch(41.4% 0.122 42.5)

  • #005A3D

    #005A3D

    oklch(41.4% 0.089 163)

  • #443F8B

    #443F8B

    oklch(41.5% 0.122 282.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2E02

    #7F2E02

    oklch(41.4% 0.122 42.5)

  • #315800

    #315800

    oklch(41.5% 0.117 132.7)

  • #005469

    #005469

    oklch(41.3% 0.076 222.2)

  • #62337A

    #62337A

    oklch(41.4% 0.123 312.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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