#400D0B
Closest named color: Deep Brown (#410200). oklch(25.1% 0.079 26.8), rgb(64, 13, 11).
Aa
White text reads best on this color (16.40:1).
About this color
#400D0B is a dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.079 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.020 away. White text reads best on it, at 16.40:1.
| Hue family | Reds |
| Lightness | dark (25%) |
| Chroma | moderately saturated (0.079) |
| Temperature | warm |
| Nearest name | Deep Brown (#410200) |
| Black text | 1.28:1 |
| White text | 16.40:1 |
Values
| HEX | #400D0B |
| RGB | rgb(64, 13, 11) |
| HSL | hsl(2, 71%, 15%) |
| OKLCH | oklch(25.1% 0.079 26.8) |
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 #400D0B | 16.40:1 | AAA | Lc -105.4 | Preferred for body text |
| Black text on #400D0B | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #400D0B text on white | 16.40:1 | AAA | Lc 102.8 | Preferred for body text |
| #400D0B text on black | 1.28: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
#FEF2F1
oklch(97% 0.013 23.2)
-
Step 100
100
#FCE3E0
oklch(93.5% 0.028 25.9)
-
Step 200
200
#FACDC7
oklch(88.6% 0.052 27)
-
Step 300
300
#F7A9A0
oklch(80.8% 0.094 26.6)
-
Step 400
400
#F0776C
oklch(70.7% 0.151 26.9)
-
Step 500
500
#E64C45
oklch(63% 0.192 26.7)
-
Step 600
600
#D22225
oklch(55.6% 0.209 26.8)
-
Step 700
700
#B50E17
oklch(49.1% 0.194 26.9)
-
Step 800
800
#931416
oklch(42.7% 0.161 26.9)
-
Step 900
900
#761C19
oklch(37.7% 0.125 27)
-
Step 950
950 (this color)
#400D0B
oklch(25.1% 0.079 26.8)
#400D0B 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) | #1C180A | 0.084 |
| Deuteranopia (no green cones) | #282409 | 0.079 |
| Tritanopia (no blue cones) | #47010D | 0.024 |
| Achromatopsia (no color) | #1F1F1F | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #400D0B
#400D0B
oklch(25.1% 0.079 26.8)
- #00272C
#00272C
oklch(24.9% 0.043 207.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 #400D0B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Brown #410200 ΔE 0.020
- Mahogany #4A0100 ΔE 0.027
- Dark Maroon #3C0008 ΔE 0.029
- Chocolate Brown #411900 ΔE 0.036
- Dark Brown #341C02 ΔE 0.049
- Dark Plum #3F012C ΔE 0.069
- Aubergine #3D0734 ΔE 0.079
- Eggplant #380835 ΔE 0.083
Use #400D0B 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.