#804A27
Closest named color: Milk Chocolate (#7F4E1E). oklch(46.6% 0.088 51.9), rgb(128, 74, 39).
Aa
White text reads best on this color (7.17:1).
About this color
#804A27 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.088 and its hue 52°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.016 away. White text reads best on it, at 7.17:1.
| Hue family | Browns |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.088) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 2.92:1 |
| White text | 7.17:1 |
Values
| HEX | #804A27 |
| RGB | rgb(128, 74, 39) |
| HSL | hsl(24, 53%, 33%) |
| OKLCH | oklch(46.6% 0.088 51.9) |
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 #804A27 | 7.17:1 | AAA | Lc -89.6 | Fine for body text |
| Black text on #804A27 | 2.92:1 | Fails | Lc 19.4 | Dividers and decoration only |
| #804A27 text on white | 7.17:1 | AAA | Lc 84.6 | Fine for body text |
| #804A27 text on black | 2.92:1 | Fails | Lc -17.4 | Dividers and decoration only |
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 700.
-
Step 50
50
#F9F4F2
oklch(97% 0.006 43.3)
-
Step 100
100
#F1E8E2
oklch(93.6% 0.013 56.2)
-
Step 200
200
#E7D5CB
oklch(88.5% 0.024 51.1)
-
Step 300
300
#D8BAA8
oklch(81% 0.043 52.9)
-
Step 400
400
#C49579
oklch(70.7% 0.069 52.1)
-
Step 500
500
#B47A57
oklch(63.1% 0.088 51.6)
-
Step 600
600
#9F623C
oklch(55.6% 0.095 51.6)
-
Step 700
700 (this color)
#804A27
oklch(46.6% 0.088 51.9)
-
Step 800
800
#6E4327
oklch(42.7% 0.073 52.7)
-
Step 900
900
#5A3924
oklch(37.8% 0.057 52.7)
-
Step 950
950
#352116
oklch(27% 0.037 49.5)
#804A27 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) | #595023 | 0.073 |
| Deuteranopia (no green cones) | #665C27 | 0.066 |
| Tritanopia (no blue cones) | #8C3F42 | 0.056 |
| Achromatopsia (no color) | #575757 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #804A27
#804A27
oklch(46.6% 0.088 51.9)
- #126282
#126282
oklch(46.7% 0.088 231.1)
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 #804A27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.016
- Saddle Brown #8B4513 ΔE 0.024
- Medium Brown #7F5112 ΔE 0.030
- Warm Brown #964E02 ΔE 0.050
- Rust Brown #8B3103 ΔE 0.055
- Cocoa #875F42 ΔE 0.059
- Red Brown #8B2E16 ΔE 0.061
- Burnt Umber #A0450E ΔE 0.061
Use #804A27 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.