#40281F
Closest named color: Chocolate Brown (#411900). oklch(30.4% 0.04 41.3), rgb(64, 40, 31).
Aa
White text reads best on this color (13.62:1).
About this color
#40281F is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.040 and its hue 41°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.048 away. White text reads best on it, at 13.62:1.
| Hue family | Browns |
| Lightness | dark (30%) |
| Chroma | muted (0.040) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.54:1 |
| White text | 13.62:1 |
Values
| HEX | #40281F |
| RGB | rgb(64, 40, 31) |
| HSL | hsl(16, 35%, 19%) |
| OKLCH | oklch(30.4% 0.04 41.3) |
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 #40281F | 13.62:1 | AAA | Lc -103.2 | Preferred for body text |
| Black text on #40281F | 1.54:1 | Fails | Lc 0.0 | Not readable |
| #40281F text on white | 13.62:1 | AAA | Lc 100.1 | Preferred for body text |
| #40281F text on black | 1.54:1 | Fails | Lc 0.0 | 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 950.
-
Step 50
50
#F9F4F2
oklch(97% 0.006 43.3)
-
Step 100
100
#F2E7E3
oklch(93.6% 0.013 41.2)
-
Step 200
200
#E9D4CC
oklch(88.5% 0.026 42.1)
-
Step 300
300
#DCB7AA
oklch(80.8% 0.047 40.3)
-
Step 400
400
#CA917C
oklch(70.7% 0.076 41.1)
-
Step 500
500
#BB755B
oklch(63.1% 0.096 41.1)
-
Step 600
600
#A65D41
oklch(55.7% 0.104 41.4)
-
Step 700
700
#8E4C33
oklch(49.1% 0.097 41.1)
-
Step 800
800
#733F2A
oklch(42.7% 0.08 42.3)
-
Step 900
900
#5E3627
oklch(37.8% 0.063 41.2)
-
Step 950
950 (this color)
#40281F
oklch(30.4% 0.04 41.3)
#40281F 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) | #2E2B1E | 0.036 |
| Deuteranopia (no green cones) | #34301F | 0.033 |
| Tritanopia (no blue cones) | #452426 | 0.022 |
| Achromatopsia (no color) | #2E2E2E | 0.040 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40281F
#40281F
oklch(30.4% 0.04 41.3)
- #15333D
#15333D
oklch(30.3% 0.04 222.4)
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 #40281F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.048
- Dark Brown #341C02 ΔE 0.056
- Jet #212529 ΔE 0.064
- Pakistan Green #283618 ΔE 0.066
- Onyx #343A40 ΔE 0.066
- Gunmetal #293241 ΔE 0.066
- Space Cadet #2B2D42 ΔE 0.068
- Dark #1B2431 ΔE 0.079
Use #40281F 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.