#40071A
Closest named color: Dark Maroon (#3C0008). oklch(24.7% 0.086 6.7), rgb(64, 7, 26).
Aa
White text reads best on this color (16.62:1).
About this color
#40071A is a very dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.086 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.031 away. White text reads best on it, at 16.62:1.
| Hue family | Reds |
| Lightness | very dark (25%) |
| Chroma | moderately saturated (0.086) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.26:1 |
| White text | 16.62:1 |
Values
| HEX | #40071A |
| RGB | rgb(64, 7, 26) |
| HSL | hsl(340, 80%, 14%) |
| OKLCH | oklch(24.7% 0.086 6.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 #40071A | 16.62:1 | AAA | Lc -105.4 | Preferred for body text |
| Black text on #40071A | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #40071A text on white | 16.62:1 | AAA | Lc 102.8 | Preferred for body text |
| #40071A text on black | 1.26: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
#FDE2E6
oklch(93.6% 0.03 7.5)
-
Step 200
200
#FCCAD3
oklch(88.5% 0.058 6.2)
-
Step 300
300
#FAA5B5
oklch(81% 0.102 7.3)
-
Step 400
400
#F26F8F
oklch(70.6% 0.163 6.9)
-
Step 500
500
#E93D74
oklch(63% 0.21 6.7)
-
Step 600
600
#D3005D
oklch(55.6% 0.223 6.9)
-
Step 700
700
#B3004E
oklch(49.2% 0.197 6.8)
-
Step 800
800
#94003F
oklch(42.8% 0.171 6.9)
-
Step 900
900
#781135
oklch(37.7% 0.137 7)
-
Step 950
950 (this color)
#40071A
oklch(24.7% 0.086 6.7)
#40071A 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) | #16171A | 0.097 |
| Deuteranopia (no green cones) | #252219 | 0.087 |
| Tritanopia (no blue cones) | #47000F | 0.023 |
| Achromatopsia (no color) | #1E1E1E | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40071A
#40071A
oklch(24.7% 0.086 6.7)
- #002724
#002724
oklch(24.6% 0.043 187.1)
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 #40071A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.031
- Deep Brown #410200 ΔE 0.039
- Dark Plum #3F012C ΔE 0.040
- Mahogany #4A0100 ΔE 0.043
- Aubergine #3D0734 ΔE 0.051
- Eggplant #380835 ΔE 0.057
- Chocolate Brown #411900 ΔE 0.063
- Dark Brown #341C02 ΔE 0.074
Use #40071A 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.