#400F1D
Closest named color: Dark Maroon (#3C0008). oklch(25.8% 0.077 7), rgb(64, 15, 29).
Aa
White text reads best on this color (16.10:1).
About this color
#400F1D is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.077 and its hue 7°. 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.10:1.
| Hue family | Reds |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.077) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.30:1 |
| White text | 16.10:1 |
Values
| HEX | #400F1D |
| RGB | rgb(64, 15, 29) |
| HSL | hsl(343, 62%, 15%) |
| OKLCH | oklch(25.8% 0.077 7) |
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 #400F1D | 16.10:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #400F1D | 1.30:1 | Fails | Lc 0.0 | Not readable |
| #400F1D text on white | 16.10:1 | AAA | Lc 102.5 | Preferred for body text |
| #400F1D text on black | 1.30: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
#FDF2F4
oklch(97% 0.012 4.7)
-
Step 100
100
#FBE3E7
oklch(93.6% 0.027 6.2)
-
Step 200
200
#F8CCD3
oklch(88.5% 0.05 7.4)
-
Step 300
300
#F4A8B6
oklch(80.8% 0.091 7.2)
-
Step 400
400
#EA7691
oklch(70.6% 0.145 6.8)
-
Step 500
500
#E04C76
oklch(63.1% 0.185 6.9)
-
Step 600
600
#CB245F
oklch(55.5% 0.202 6.8)
-
Step 700
700
#AF124E
oklch(49% 0.187 7)
-
Step 800
800
#8E1640
oklch(42.6% 0.155 7)
-
Step 900
900
#731C36
oklch(37.8% 0.121 7.4)
-
Step 950
950 (this color)
#400F1D
oklch(25.8% 0.077 7)
#400F1D 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) | #1A1B1D | 0.085 |
| Deuteranopia (no green cones) | #27251C | 0.079 |
| Tritanopia (no blue cones) | #460715 | 0.019 |
| Achromatopsia (no color) | #212121 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #400F1D
#400F1D
oklch(25.8% 0.077 7)
- #002A27
#002A27
oklch(25.7% 0.045 187.5)
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 #400F1D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.040
- Deep Brown #410200 ΔE 0.043
- Dark Plum #3F012C ΔE 0.045
- Mahogany #4A0100 ΔE 0.045
- Aubergine #3D0734 ΔE 0.052
- Chocolate Brown #411900 ΔE 0.055
- Eggplant #380835 ΔE 0.057
- Dark Brown #341C02 ΔE 0.066
Use #400F1D 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.