#400D1E
Closest named color: Dark Maroon (#3C0008). oklch(25.5% 0.08 4.6), rgb(64, 13, 30).
Aa
White text reads best on this color (16.22:1).
About this color
#400D1E is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.080 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.040 away. White text reads best on it, at 16.22:1.
| Hue family | Reds |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.080) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.29:1 |
| White text | 16.22:1 |
Values
| HEX | #400D1E |
| RGB | rgb(64, 13, 30) |
| HSL | hsl(340, 66%, 15%) |
| OKLCH | oklch(25.5% 0.08 4.6) |
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 #400D1E | 16.22:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #400D1E | 1.29:1 | Fails | Lc 0.0 | Not readable |
| #400D1E text on white | 16.22:1 | AAA | Lc 102.6 | Preferred for body text |
| #400D1E text on black | 1.29: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
#FEF2F4
oklch(97.1% 0.013 5.8)
-
Step 100
100
#FBE3E7
oklch(93.6% 0.027 6.2)
-
Step 200
200
#F9CBD5
oklch(88.5% 0.053 3.6)
-
Step 300
300
#F5A7B9
oklch(80.9% 0.094 4.3)
-
Step 400
400
#EC7495
oklch(70.7% 0.151 4.3)
-
Step 500
500
#E2487B
oklch(63.1% 0.193 4.4)
-
Step 600
600
#CD1C64
oklch(55.6% 0.21 4.4)
-
Step 700
700
#B10553
oklch(49.1% 0.195 4.4)
-
Step 800
800
#901044
oklch(42.8% 0.162 4.5)
-
Step 900
900
#741939
oklch(37.7% 0.127 4.7)
-
Step 950
950 (this color)
#400D1E
oklch(25.5% 0.08 4.6)
#400D1E 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) | #181A1E | 0.090 |
| Deuteranopia (no green cones) | #26241D | 0.081 |
| Tritanopia (no blue cones) | #460514 | 0.021 |
| Achromatopsia (no color) | #202020 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #400D1E
#400D1E
oklch(25.5% 0.08 4.6)
- #002A26
#002A26
oklch(25.6% 0.045 185.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 #400D1E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.040
- Dark Plum #3F012C ΔE 0.040
- Deep Brown #410200 ΔE 0.045
- Mahogany #4A0100 ΔE 0.047
- Aubergine #3D0734 ΔE 0.048
- Eggplant #380835 ΔE 0.054
- Chocolate Brown #411900 ΔE 0.060
- Eggplant Purple #430541 ΔE 0.070
Use #400D1E 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.