#40181F
Closest named color: Chocolate Brown (#411900). oklch(27.2% 0.063 11.4), rgb(64, 24, 31).
Aa
White text reads best on this color (15.34:1).
About this color
#40181F is a dark, muted red. In OKLCH its lightness is 27%, its chroma 0.063 and its hue 11°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.045 away. White text reads best on it, at 15.34:1.
| Hue family | Reds |
| Lightness | dark (27%) |
| Chroma | muted (0.063) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.36:1 |
| White text | 15.34:1 |
Values
| HEX | #40181F |
| RGB | rgb(64, 24, 31) |
| HSL | hsl(350, 45%, 17%) |
| OKLCH | oklch(27.2% 0.063 11.4) |
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 #40181F | 15.34:1 | AAA | Lc -104.7 | Preferred for body text |
| Black text on #40181F | 1.36:1 | Fails | Lc 0.0 | Not readable |
| #40181F text on white | 15.34:1 | AAA | Lc 102.0 | Preferred for body text |
| #40181F text on black | 1.36: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
#FCF3F4
oklch(97.1% 0.01 9.5)
-
Step 100
100
#F8E4E6
oklch(93.5% 0.022 10.6)
-
Step 200
200
#F3CFD2
oklch(88.6% 0.041 12.3)
-
Step 300
300
#ECADB4
oklch(80.8% 0.074 11.5)
-
Step 400
400
#E0808E
oklch(70.8% 0.119 11.2)
-
Step 500
500
#D45C72
oklch(63.1% 0.152 11.2)
-
Step 600
600
#BF3E5A
oklch(55.5% 0.165 11.4)
-
Step 700
700
#A52F4A
oklch(49.2% 0.154 11.5)
-
Step 800
800
#86293D
oklch(42.8% 0.127 11.5)
-
Step 900
900
#6C2734
oklch(37.8% 0.099 11.7)
-
Step 950
950 (this color)
#40181F
oklch(27.2% 0.063 11.4)
#40181F 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) | #20201F | 0.069 |
| Deuteranopia (no green cones) | #2A281E | 0.064 |
| Tritanopia (no blue cones) | #46131B | 0.016 |
| Achromatopsia (no color) | #252525 | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40181F
#40181F
oklch(27.2% 0.063 11.4)
- #002E2C
#002E2C
oklch(27.2% 0.047 190.2)
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 #40181F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.045
- Mahogany #4A0100 ΔE 0.051
- Deep Brown #410200 ΔE 0.053
- Dark Maroon #3C0008 ΔE 0.056
- Dark Brown #341C02 ΔE 0.056
- Dark Plum #3F012C ΔE 0.061
- Aubergine #3D0734 ΔE 0.063
- Eggplant #380835 ΔE 0.068
Use #40181F 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.