#5A271E
Closest named color: Reddy Brown (#6E1005). oklch(34.2% 0.077 31.6), rgb(90, 39, 30).
Aa
White text reads best on this color (12.04:1).
About this color
#5A271E is a dark, moderately saturated red. In OKLCH its lightness is 34%, its chroma 0.077 and its hue 32°. Its hue sits on the warm side of the wheel. The nearest named color is Reddy Brown (#6E1005), ΔE 0.052 away. White text reads best on it, at 12.04:1.
| Hue family | Reds |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.077) |
| Temperature | warm |
| Nearest name | Reddy Brown (#6E1005) |
| Black text | 1.74:1 |
| White text | 12.04:1 |
Values
| HEX | #5A271E |
| RGB | rgb(90, 39, 30) |
| HSL | hsl(9, 50%, 24%) |
| OKLCH | oklch(34.2% 0.077 31.6) |
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 #5A271E | 12.04:1 | AAA | Lc -100.7 | Preferred for body text |
| Black text on #5A271E | 1.74:1 | Fails | Lc 0.0 | Not readable |
| #5A271E text on white | 12.04:1 | AAA | Lc 97.1 | Preferred for body text |
| #5A271E text on black | 1.74:1 | Fails | Lc 0.0 | 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 900.
-
Step 50
50
#FBF4F2
oklch(97.2% 0.008 36.6)
-
Step 100
100
#F5E6E3
oklch(93.6% 0.017 31.1)
-
Step 200
200
#EED2CC
oklch(88.5% 0.033 32.1)
-
Step 300
300
#E4B3AA
oklch(80.9% 0.059 30.4)
-
Step 400
400
#D48B7C
oklch(70.7% 0.093 32.2)
-
Step 500
500
#C76C5B
oklch(63.1% 0.119 31.7)
-
Step 600
600
#B25241
oklch(55.6% 0.129 31.7)
-
Step 700
700
#994233
oklch(49.1% 0.12 31.6)
-
Step 800
800
#7C372B
oklch(42.7% 0.099 31.6)
-
Step 900
900 (this color)
#5A271E
oklch(34.2% 0.077 31.6)
-
Step 950
950
#3B1D17
oklch(27.1% 0.049 32.3)
#5A271E 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) | #342F1D | 0.078 |
| Deuteranopia (no green cones) | #403A1D | 0.073 |
| Tritanopia (no blue cones) | #631E25 | 0.030 |
| Achromatopsia (no color) | #363636 | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A271E
#5A271E
oklch(34.2% 0.077 31.6)
- #00404A
#00404A
oklch(34.1% 0.059 212)
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 #5A271E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Reddy Brown #6E1005 ΔE 0.052
- Chestnut #742802 ΔE 0.060
- Claret #680018 ΔE 0.060
- Burgundy #610023 ΔE 0.067
- Purple Brown #673A3F ΔE 0.068
- Blood #770001 ΔE 0.071
- Chocolate Brown #411900 ΔE 0.076
- Wine Red #7B0323 ΔE 0.080
Use #5A271E 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.