#5A5145
Closest named color: Mud Brown (#60460F). oklch(44% 0.022 75), rgb(90, 81, 69).
Aa
White text reads best on this color (7.78:1).
About this color
#5A5145 is a dark close to neutral grey. In OKLCH its lightness is 44%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Mud Brown (#60460F), ΔE 0.061 away. White text reads best on it, at 7.78:1.
| Hue family | Neutrals |
| Lightness | dark (44%) |
| Chroma | close to neutral grey (0.022) |
| Temperature | neutral |
| Nearest name | Mud Brown (#60460F) |
| Black text | 2.69:1 |
| White text | 7.78:1 |
Values
| HEX | #5A5145 |
| RGB | rgb(90, 81, 69) |
| HSL | hsl(34, 13%, 31%) |
| OKLCH | oklch(44% 0.022 75) |
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 #5A5145 | 7.78:1 | AAA | Lc -91.8 | Preferred for body text |
| Black text on #5A5145 | 2.69:1 | Fails | Lc 17.0 | Dividers and decoration only |
| #5A5145 text on white | 7.78:1 | AAA | Lc 87.0 | Fine for body text |
| #5A5145 text on black | 2.69:1 | Fails | Lc -15.1 | 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 800.
-
Step 50
50
#F6F5F4
oklch(97.1% 0.002 67.8)
-
Step 100
100
#EBE9E7
oklch(93.5% 0.003 67.8)
-
Step 200
200
#DCD8D4
oklch(88.4% 0.007 67.7)
-
Step 300
300
#C6C0B7
oklch(81% 0.014 78.2)
-
Step 400
400
#A89F92
oklch(70.6% 0.021 77.3)
-
Step 500
500
#938778
oklch(63% 0.026 73.4)
-
Step 600
600
#7E7161
oklch(55.6% 0.029 72.9)
-
Step 700
700
#6A5F50
oklch(49.2% 0.027 75.6)
-
Step 800
800 (this color)
#5A5145
oklch(44% 0.022 75)
-
Step 900
900
#474037
oklch(37.6% 0.018 74.1)
-
Step 950
950
#2A2621
oklch(27.1% 0.011 73.5)
#5A5145 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) | #555144 | 0.009 |
| Deuteranopia (no green cones) | #575345 | 0.008 |
| Tritanopia (no blue cones) | #5E4F4E | 0.019 |
| Achromatopsia (no color) | #525252 | 0.022 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A5145
#5A5145
oklch(44% 0.022 75)
- #4A535F
#4A535F
oklch(43.9% 0.023 255.6)
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 #5A5145, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mud Brown #60460F ΔE 0.061
- Dark Slate Gray #2F4F4F ΔE 0.065
- Purple Brown #673A3F ΔE 0.067
- Brownish Purple #76424E ΔE 0.069
- Olive Brown #645403 ΔE 0.071
- Green Brown #544E03 ΔE 0.072
- Dusty Grape #545775 ΔE 0.074
- Charcoal Grey #3C4142 ΔE 0.074
Use #5A5145 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.