#8A271B

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

Aa

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

About this color

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

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

Values

HEX#8A271B
RGBrgb(138, 39, 27)
HSLhsl(6, 67%, 32%)
OKLCHoklch(42.7% 0.136 30.4)

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

    #E58070

    oklch(70.7% 0.128 30.1)

  6. Step 500

    500

    #DA5C4A

    oklch(63.2% 0.162 30.4)

  7. Step 600

    600

    #C53C2B

    oklch(55.5% 0.176 30.5)

  8. Step 700

    700

    #AA2D1E

    oklch(49.1% 0.164 30.5)

  9. Step 800

    800 (this color)

    #8A271B

    oklch(42.7% 0.136 30.4)

  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

#8A271B 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)#443D190.144
Deuteranopia (no green cones)#5D52170.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°).

  • #8A271B

    #8A271B

    oklch(42.7% 0.136 30.4)

  • #005965

    #005965

    oklch(42.5% 0.074 210.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A271B

    #8A271B

    oklch(42.7% 0.136 30.4)

  • #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°).

  • #8A271B

    #8A271B

    oklch(42.7% 0.136 30.4)

  • #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.

  • #8A271B

    #8A271B

    oklch(42.7% 0.136 30.4)

  • #00602A

    #00602A

    oklch(42.8% 0.117 150.4)

  • #344698

    #344698

    oklch(42.7% 0.135 270.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A271B

    #8A271B

    oklch(42.7% 0.136 30.4)

  • #485600

    #485600

    oklch(42.6% 0.101 120)

  • #005965

    #005965

    oklch(42.5% 0.074 210.5)

  • #5C388D

    #5C388D

    oklch(42.7% 0.136 300.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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