#5F403F
Closest named color: Purple Brown (#673A3F). oklch(40.6% 0.044 21.2), rgb(95, 64, 63).
Aa
White text reads best on this color (9.16:1).
About this color
#5F403F is a dark, muted red. In OKLCH its lightness is 41%, its chroma 0.044 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.022 away. White text reads best on it, at 9.16:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | muted (0.044) |
| Temperature | warm |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 2.29:1 |
| White text | 9.16:1 |
Values
| HEX | #5F403F |
| RGB | rgb(95, 64, 63) |
| HSL | hsl(2, 20%, 31%) |
| OKLCH | oklch(40.6% 0.044 21.2) |
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 #5F403F | 9.16:1 | AAA | Lc -95.4 | Preferred for body text |
| Black text on #5F403F | 2.29:1 | Fails | Lc 12.9 | Not readable |
| #5F403F text on white | 9.16:1 | AAA | Lc 91.0 | Preferred for body text |
| #5F403F text on black | 2.29:1 | Fails | Lc -11.3 | 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
#F8F4F4
oklch(97% 0.004 17.2)
-
Step 100
100
#EFE8E8
oklch(93.6% 0.008 17.3)
-
Step 200
200
#E2D6D5
oklch(88.5% 0.013 23.2)
-
Step 300
300
#D1BBB9
oklch(81% 0.025 23.9)
-
Step 400
400
#B99795
oklch(70.7% 0.041 22.1)
-
Step 500
500
#A77D7C
oklch(63% 0.053 20.2)
-
Step 600
600
#926665
oklch(55.6% 0.057 20.5)
-
Step 700
700
#7C5554
oklch(49.1% 0.052 20.8)
-
Step 800
800 (this color)
#5F403F
oklch(40.6% 0.044 21.2)
-
Step 900
900
#523B3A
oklch(37.8% 0.033 21.6)
-
Step 950
950
#302222
oklch(26.9% 0.022 18.6)
#5F403F 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) | #46443F | 0.045 |
| Deuteranopia (no green cones) | #4D4A3F | 0.042 |
| Tritanopia (no blue cones) | #653D40 | 0.014 |
| Achromatopsia (no color) | #484848 | 0.044 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F403F
#5F403F
oklch(40.6% 0.044 21.2)
- #2A5153
#2A5153
oklch(40.7% 0.044 199.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 #5F403F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.022
- Brownish Purple #76424E ΔE 0.051
- Charcoal Grey #3C4142 ΔE 0.062
- Mud Brown #60460F ΔE 0.067
- Chestnut #742802 ΔE 0.079
- Onyx #343A40 ΔE 0.081
- Dark Slate Gray #2F4F4F ΔE 0.081
- Charcoal #264653 ΔE 0.091
Use #5F403F 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.