#8B271A

Closest named color: Red Brown (#8B2E16). oklch(42.8% 0.137 30.7), rgb(139, 39, 26).

Aa

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

About this color

#8B271A is a dark, moderately saturated red. In OKLCH its lightness is 43%, its chroma 0.137 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Red Brown (#8B2E16), ΔE 0.014 away. White text reads best on it, at 8.73:1.

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.40:1
White text8.73:1

Values

HEX#8B271A
RGBrgb(139, 39, 26)
HSLhsl(7, 68%, 32%)
OKLCHoklch(42.8% 0.137 30.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 #8B271A 8.73:1 AAA Lc -93.4 Preferred for body text
Black text on #8B271A 2.40:1 Fails Lc 15.1 Dividers and decoration only
#8B271A text on white 8.73:1 AAA Lc 88.9 Fine for body text
#8B271A text on black 2.40:1 Fails Lc -13.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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #F9E5E1

    oklch(93.7% 0.023 31.1)

  3. Step 200

    200

    #F5CFC8

    oklch(88.5% 0.044 30.2)

  4. Step 300

    300

    #F0AEA1

    oklch(80.9% 0.08 31.4)

  5. Step 400

    400

    #E5806F

    oklch(70.7% 0.128 30.6)

  6. Step 500

    500

    #DB5B48

    oklch(63.1% 0.165 30.7)

  7. Step 600

    600

    #C63B29

    oklch(55.6% 0.179 30.7)

  8. Step 700

    700

    #AB2C1C

    oklch(49.2% 0.166 30.8)

  9. Step 800

    800 (this color)

    #8B271A

    oklch(42.8% 0.137 30.7)

  10. Step 900

    900

    #6F261B

    oklch(37.7% 0.106 31.1)

  11. Step 950

    950

    #421711

    oklch(27% 0.068 30.2)

Export this scale for Tailwind in the Tailwind colors tool

#8B271A 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)#443D180.145
Deuteranopia (no green cones)#5D53160.132
Tritanopia (no blue cones)#9901250.046
Achromatopsia (no color)#4B4B4B0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B271A

    #8B271A

    oklch(42.8% 0.137 30.7)

  • #005A66

    #005A66

    oklch(42.9% 0.074 210.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B271A

    #8B271A

    oklch(42.8% 0.137 30.7)

  • #87244B

    #87244B

    oklch(42.9% 0.137 0.9)

  • #764000

    #764000

    oklch(42.9% 0.1 60.6)

Open the analogous palette in the generator

Split complementary

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

  • #8B271A

    #8B271A

    oklch(42.8% 0.137 30.7)

  • #005D51

    #005D51

    oklch(42.9% 0.078 180)

  • #005580

    #005580

    oklch(42.9% 0.099 240.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B271A

    #8B271A

    oklch(42.8% 0.137 30.7)

  • #00602B

    #00602B

    oklch(42.8% 0.116 150.8)

  • #354699

    #354699

    oklch(42.8% 0.137 270.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B271A

    #8B271A

    oklch(42.8% 0.137 30.7)

  • #485700

    #485700

    oklch(42.9% 0.102 120.5)

  • #005A66

    #005A66

    oklch(42.9% 0.074 210.4)

  • #5D388D

    #5D388D

    oklch(42.8% 0.136 300.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8B271A 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.