#40051C
Closest named color: Dark Maroon (#3C0008). oklch(24.6% 0.09 3.5), rgb(64, 5, 28).
Aa
White text reads best on this color (16.71:1).
About this color
#40051C is a very dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.090 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.034 away. White text reads best on it, at 16.71:1.
| Hue family | Reds |
| Lightness | very dark (25%) |
| Chroma | moderately saturated (0.090) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.25:1 |
| White text | 16.71:1 |
Values
| HEX | #40051C |
| RGB | rgb(64, 5, 28) |
| HSL | hsl(337, 86%, 14%) |
| OKLCH | oklch(24.6% 0.09 3.5) |
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 #40051C | 16.71:1 | AAA | Lc -105.4 | Preferred for body text |
| Black text on #40051C | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #40051C text on white | 16.71:1 | AAA | Lc 102.8 | Preferred for body text |
| #40051C text on black | 1.25: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
#FFF2F4
oklch(97.2% 0.014 6.7)
-
Step 100
100
#FDE2E7
oklch(93.6% 0.03 5)
-
Step 200
200
#FCCAD5
oklch(88.6% 0.058 3.6)
-
Step 300
300
#FBA3B9
oklch(80.8% 0.107 3.5)
-
Step 400
400
#F46C95
oklch(70.7% 0.171 3.6)
-
Step 500
500
#EB387B
oklch(63.1% 0.217 3.7)
-
Step 600
600
#D20065
oklch(55.6% 0.224 3.7)
-
Step 700
700
#B10055
oklch(49% 0.197 3.3)
-
Step 800
800
#930045
oklch(42.7% 0.172 3.5)
-
Step 900
900
#780D39
oklch(37.6% 0.141 3.7)
-
Step 950
950 (this color)
#40051C
oklch(24.6% 0.09 3.5)
#40051C 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) | #14161C | 0.102 |
| Deuteranopia (no green cones) | #24221B | 0.091 |
| Tritanopia (no blue cones) | #47000F | 0.026 |
| Achromatopsia (no color) | #1E1E1E | 0.090 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40051C
#40051C
oklch(24.6% 0.09 3.5)
- #002723
#002723
oklch(24.5% 0.043 184.7)
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 #40051C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.034
- Dark Plum #3F012C ΔE 0.034
- Deep Brown #410200 ΔE 0.044
- Aubergine #3D0734 ΔE 0.046
- Mahogany #4A0100 ΔE 0.048
- Eggplant #380835 ΔE 0.052
- Chocolate Brown #411900 ΔE 0.069
- Eggplant Purple #430541 ΔE 0.070
Use #40051C 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.