#8A271A

Closest named color: Red Brown (#8B2E16). oklch(42.7% 0.136 30.8), rgb(138, 39, 26).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.136)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.38:1
White text8.80:1

Values

HEX#8A271A
RGBrgb(138, 39, 26)
HSLhsl(7, 68%, 32%)
OKLCHoklch(42.7% 0.136 30.8)

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 #8A271A 8.80:1 AAA Lc -93.6 Preferred for body text
Black text on #8A271A 2.38:1 Fails Lc 14.9 Not readable
#8A271A text on white 8.80:1 AAA Lc 89.0 Fine for body text
#8A271A text on black 2.38:1 Fails Lc -13.2 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

    #F0AEA2

    oklch(81% 0.08 30.5)

  5. Step 400

    400

    #E5806F

    oklch(70.7% 0.128 30.6)

  6. Step 500

    500

    #DA5C49

    oklch(63.1% 0.162 30.8)

  7. Step 600

    600

    #C53C2A

    oklch(55.5% 0.177 30.7)

  8. Step 700

    700

    #AA2D1D

    oklch(49.1% 0.164 30.8)

  9. Step 800

    800 (this color)

    #8A271A

    oklch(42.7% 0.136 30.8)

  10. Step 900

    900

    #6F261C

    oklch(37.7% 0.106 30.5)

  11. Step 950

    950

    #411711

    oklch(26.9% 0.067 30.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A271A 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.144
Deuteranopia (no green cones)#5D52160.130
Tritanopia (no blue cones)#9802250.046
Achromatopsia (no color)#4A4A4A0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A271A

    #8A271A

    oklch(42.7% 0.136 30.8)

  • #005966

    #005966

    oklch(42.6% 0.074 211.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A271A

    #8A271A

    oklch(42.7% 0.136 30.8)

  • #86244B

    #86244B

    oklch(42.7% 0.136 0.6)

  • #753F00

    #753F00

    oklch(42.6% 0.1 60.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A271A

    #8A271A

    oklch(42.7% 0.136 30.8)

  • #005C51

    #005C51

    oklch(42.6% 0.077 181.1)

  • #00547F

    #00547F

    oklch(42.6% 0.099 240.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A271A

    #8A271A

    oklch(42.7% 0.136 30.8)

  • #00602B

    #00602B

    oklch(42.8% 0.116 150.8)

  • #344698

    #344698

    oklch(42.7% 0.135 270.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A271A

    #8A271A

    oklch(42.7% 0.136 30.8)

  • #475700

    #475700

    oklch(42.8% 0.103 121.1)

  • #005966

    #005966

    oklch(42.6% 0.074 211.8)

  • #5C388C

    #5C388C

    oklch(42.7% 0.135 300.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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