#7F331F

Closest named color: Red Brown (#8B2E16). oklch(42.4% 0.111 35.7), rgb(127, 51, 31).

Aa

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

About this color

#7F331F is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.111 and its hue 36°. Its hue sits on the warm side of the wheel. The nearest named color is Red Brown (#8B2E16), ΔE 0.025 away. White text reads best on it, at 8.76:1.

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.111)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.39:1
White text8.76:1

Values

HEX#7F331F
RGBrgb(127, 51, 31)
HSLhsl(13, 61%, 31%)
OKLCHoklch(42.4% 0.111 35.7)

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 #7F331F 8.76:1 AAA Lc -93.9 Preferred for body text
Black text on #7F331F 2.39:1 Fails Lc 14.6 Not readable
#7F331F text on white 8.76:1 AAA Lc 89.4 Fine for body text
#7F331F text on black 2.39:1 Fails Lc -12.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

    #F6E6E1

    oklch(93.6% 0.019 38.1)

  3. Step 200

    200

    #F0D1C9

    oklch(88.4% 0.037 34.8)

  4. Step 300

    300

    #E7B3A4

    oklch(81% 0.065 36.7)

  5. Step 400

    400

    #D98973

    oklch(70.8% 0.104 36.1)

  6. Step 500

    500

    #CC694F

    oklch(63.1% 0.132 35.7)

  7. Step 600

    600

    #B74E32

    oklch(55.5% 0.143 35.9)

  8. Step 700

    700

    #9E3E25

    oklch(49.2% 0.134 35.6)

  9. Step 800

    800 (this color)

    #7F331F

    oklch(42.4% 0.111 35.7)

  10. Step 900

    900

    #672E1F

    oklch(37.6% 0.086 35.8)

  11. Step 950

    950

    #3D1C13

    oklch(27.1% 0.054 36.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F331F 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)#48401D0.110
Deuteranopia (no green cones)#5A511D0.102
Tritanopia (no blue cones)#8C222F0.047
Achromatopsia (no color)#4B4B4B0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F331F

    #7F331F

    oklch(42.4% 0.111 35.7)

  • #005868

    #005868

    oklch(42.4% 0.075 215.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F331F

    #7F331F

    oklch(42.4% 0.111 35.7)

  • #7D2F45

    #7D2F45

    oklch(42.3% 0.11 5.6)

  • #704100

    #704100

    oklch(42.2% 0.094 65.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F331F

    #7F331F

    oklch(42.4% 0.111 35.7)

  • #005B54

    #005B54

    oklch(42.4% 0.074 185.8)

  • #005285

    #005285

    oklch(42.5% 0.108 245.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F331F

    #7F331F

    oklch(42.4% 0.111 35.7)

  • #005E35

    #005E35

    oklch(42.4% 0.103 155.9)

  • #3F4689

    #3F4689

    oklch(42.4% 0.11 276.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F331F

    #7F331F

    oklch(42.4% 0.111 35.7)

  • #405800

    #405800

    oklch(42.5% 0.108 125.7)

  • #005868

    #005868

    oklch(42.4% 0.075 215.6)

  • #5D3B7D

    #5D3B7D

    oklch(42.3% 0.111 306)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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