#8A271F
Closest named color: Red Brown (#8B2E16). oklch(42.7% 0.135 28.7), rgb(138, 39, 31).
Aa
White text reads best on this color (8.78:1).
About this color
#8A271F is a dark, moderately saturated red. In OKLCH its lightness is 43%, its chroma 0.135 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Red Brown (#8B2E16), ΔE 0.018 away. White text reads best on it, at 8.78:1.
| Hue family | Reds |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.135) |
| Temperature | warm |
| Nearest name | Red Brown (#8B2E16) |
| Black text | 2.39:1 |
| White text | 8.78:1 |
Values
| HEX | #8A271F |
| RGB | rgb(138, 39, 31) |
| HSL | hsl(4, 63%, 33%) |
| OKLCH | oklch(42.7% 0.135 28.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #8A271F | 8.78:1 | AAA | Lc -93.6 | Preferred for body text |
| Black text on #8A271F | 2.39:1 | Fails | Lc 15.0 | Not readable |
| #8A271F text on white | 8.78:1 | AAA | Lc 89.0 | Fine for body text |
| #8A271F text on black | 2.39: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.
-
Step 50
50
#FDF3F1
oklch(97.1% 0.011 31.1)
-
Step 100
100
#F9E5E1
oklch(93.7% 0.023 31.1)
-
Step 200
200
#F5CFC9
oklch(88.5% 0.044 28.5)
-
Step 300
300
#EFAEA4
oklch(80.9% 0.078 28.7)
-
Step 400
400
#E58073
oklch(70.8% 0.127 28.4)
-
Step 500
500
#DA5B4E
oklch(63.1% 0.162 28.4)
-
Step 600
600
#C53C31
oklch(55.6% 0.175 28.6)
-
Step 700
700
#AA2C23
oklch(49.1% 0.164 28.7)
-
Step 800
800 (this color)
#8A271F
oklch(42.7% 0.135 28.7)
-
Step 900
900
#6F261F
oklch(37.7% 0.105 28.5)
-
Step 950
950
#411713
oklch(26.9% 0.066 27.8)
#8A271F 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #443D1D | 0.143 |
| Deuteranopia (no green cones) | #5C531B | 0.133 |
| Tritanopia (no blue cones) | #980326 | 0.044 |
| Achromatopsia (no color) | #4B4B4B | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A271F
#8A271F
oklch(42.7% 0.135 28.7)
- #005A64
#005A64
oklch(42.8% 0.073 207.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #8A271F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Brown #8B2E16 ΔE 0.018
- Brick Red #8F1402 ΔE 0.026
- Brown Red #922B05 ΔE 0.028
- Rust Brown #8B3103 ΔE 0.032
- Auburn #9B2226 ΔE 0.036
- Dark Red #8B0000 ΔE 0.040
- Blood Red #980002 ΔE 0.040
- Deep Red #9A0200 ΔE 0.041
Use #8A271F 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.