#7F403B
Closest named color: Brownish Purple (#76424E). oklch(45% 0.088 25.9), rgb(127, 64, 59).
Aa
White text reads best on this color (7.78:1).
About this color
#7F403B is a dark, moderately saturated red. In OKLCH its lightness is 45%, its chroma 0.088 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Brownish Purple (#76424E), ΔE 0.032 away. White text reads best on it, at 7.78:1.
| Hue family | Reds |
| Lightness | dark (45%) |
| Chroma | moderately saturated (0.088) |
| Temperature | warm |
| Nearest name | Brownish Purple (#76424E) |
| Black text | 2.69:1 |
| White text | 7.78:1 |
Values
| HEX | #7F403B |
| RGB | rgb(127, 64, 59) |
| HSL | hsl(4, 37%, 36%) |
| OKLCH | oklch(45% 0.088 25.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 #7F403B | 7.78:1 | AAA | Lc -91.4 | Preferred for body text |
| Black text on #7F403B | 2.69:1 | Fails | Lc 17.3 | Dividers and decoration only |
| #7F403B text on white | 7.78:1 | AAA | Lc 86.7 | Fine for body text |
| #7F403B text on black | 2.69:1 | Fails | Lc -15.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 800.
-
Step 50
50
#FAF4F3
oklch(97.2% 0.007 28.8)
-
Step 100
100
#F4E6E5
oklch(93.6% 0.015 22.4)
-
Step 200
200
#ECD2CF
oklch(88.4% 0.029 25.6)
-
Step 300
300
#E0B4AF
oklch(80.8% 0.052 25.8)
-
Step 400
400
#CF8D86
oklch(70.7% 0.082 26)
-
Step 500
500
#C16F68
oklch(63.1% 0.105 25.6)
-
Step 600
600
#AC564F
oklch(55.6% 0.114 26.2)
-
Step 700
700
#944640
oklch(49.2% 0.106 26.2)
-
Step 800
800 (this color)
#7F403B
oklch(45% 0.088 25.9)
-
Step 900
900
#61322E
oklch(37.7% 0.069 25.9)
-
Step 950
950
#391E1B
oklch(27.1% 0.043 27)
#7F403B 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) | #4F4A3A | 0.091 |
| Deuteranopia (no green cones) | #5E573A | 0.084 |
| Tritanopia (no blue cones) | #8A363F | 0.031 |
| Achromatopsia (no color) | #525252 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F403B
#7F403B
oklch(45% 0.088 25.9)
- #00616A
#00616A
oklch(45% 0.077 205.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 #7F403B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Brownish Purple #76424E ΔE 0.032
- Red Brown #8B2E16 ΔE 0.049
- Purple Brown #673A3F ΔE 0.053
- Saddle Brown #8B4513 ΔE 0.054
- Rust Brown #8B3103 ΔE 0.054
- Milk Chocolate #7F4E1E ΔE 0.059
- Brown Red #922B05 ΔE 0.061
- Dark Mauve #874C62 ΔE 0.061
Use #7F403B 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.