#7F451D
Closest named color: Milk Chocolate (#7F4E1E). oklch(45.4% 0.096 52.2), rgb(127, 69, 29).
Aa
White text reads best on this color (7.57:1).
About this color
#7F451D is a medium-dark, moderately saturated brown. In OKLCH its lightness is 45%, its chroma 0.096 and its hue 52°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.024 away. White text reads best on it, at 7.57:1.
| Hue family | Browns |
| Lightness | medium-dark (45%) |
| Chroma | moderately saturated (0.096) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 2.77:1 |
| White text | 7.57:1 |
Values
| HEX | #7F451D |
| RGB | rgb(127, 69, 29) |
| HSL | hsl(24, 63%, 31%) |
| OKLCH | oklch(45.4% 0.096 52.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 #7F451D | 7.57:1 | AAA | Lc -90.8 | Preferred for body text |
| Black text on #7F451D | 2.77:1 | Fails | Lc 18.0 | Dividers and decoration only |
| #7F451D text on white | 7.57:1 | AAA | Lc 86.0 | Fine for body text |
| #7F451D text on black | 2.77:1 | Fails | Lc -16.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
#FAF4F1
oklch(97.1% 0.008 48.7)
-
Step 100
100
#F3E7E0
oklch(93.6% 0.016 52.6)
-
Step 200
200
#EBD4C7
oklch(88.5% 0.031 51.5)
-
Step 300
300
#DFB7A0
oklch(80.9% 0.056 51.5)
-
Step 400
400
#CD916C
oklch(70.7% 0.089 52.5)
-
Step 500
500
#BF7443
oklch(63.1% 0.114 52.4)
-
Step 600
600
#AB5B22
oklch(55.6% 0.125 52)
-
Step 700
700
#924A14
oklch(49% 0.116 51.9)
-
Step 800
800 (this color)
#7F451D
oklch(45.4% 0.096 52.2)
-
Step 900
900
#603518
oklch(37.7% 0.075 52.4)
-
Step 950
950
#381F0F
oklch(26.9% 0.047 52.1)
#7F451D 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) | #564C18 | 0.079 |
| Deuteranopia (no green cones) | #64591D | 0.071 |
| Tritanopia (no blue cones) | #8B393C | 0.059 |
| Achromatopsia (no color) | #545454 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F451D
#7F451D
oklch(45.4% 0.096 52.2)
- #005E81
#005E81
oklch(45.3% 0.093 232.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 #7F451D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.024
- Saddle Brown #8B4513 ΔE 0.024
- Medium Brown #7F5112 ΔE 0.035
- Rust Brown #8B3103 ΔE 0.045
- Red Brown #8B2E16 ΔE 0.052
- Warm Brown #964E02 ΔE 0.055
- Brown Red #922B05 ΔE 0.059
- Mud Brown #60460F ΔE 0.063
Use #7F451D 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.