#40030C
Closest named color: Dark Maroon (#3C0008). oklch(23.9% 0.09 19.7), rgb(64, 3, 12).
Aa
White text reads best on this color (16.98:1).
About this color
#40030C is a very dark, moderately saturated red. In OKLCH its lightness is 24%, its chroma 0.090 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.014 away. White text reads best on it, at 16.98:1.
| Hue family | Reds |
| Lightness | very dark (24%) |
| Chroma | moderately saturated (0.090) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.23:1 |
| White text | 16.98:1 |
Values
| HEX | #40030C |
| RGB | rgb(64, 3, 12) |
| HSL | hsl(351, 91%, 13%) |
| OKLCH | oklch(23.9% 0.09 19.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 #40030C | 16.98:1 | AAA | Lc -105.5 | Preferred for body text |
| Black text on #40030C | 1.23:1 | Fails | Lc 0.0 | Not readable |
| #40030C text on white | 16.98:1 | AAA | Lc 102.9 | Preferred for body text |
| #40030C text on black | 1.23: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
#FFF2F1
oklch(97.1% 0.014 22.8)
-
Step 100
100
#FEE2E1
oklch(93.5% 0.031 20.2)
-
Step 200
200
#FECAC9
oklch(88.4% 0.059 19.6)
-
Step 300
300
#FEA4A4
oklch(80.8% 0.107 19.7)
-
Step 400
400
#F96D74
oklch(70.7% 0.172 19.5)
-
Step 500
500
#F13750
oklch(63.1% 0.219 19.5)
-
Step 600
600
#D70039
oklch(55.6% 0.223 19.6)
-
Step 700
700
#B6002E
oklch(49.1% 0.197 19.8)
-
Step 800
800
#960025
oklch(42.6% 0.171 19.5)
-
Step 900
900
#7C0B20
oklch(37.7% 0.143 19.6)
-
Step 950
950 (this color)
#40030C
oklch(23.9% 0.09 19.7)
#40030C 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) | #16140C | 0.100 |
| Deuteranopia (no green cones) | #25210A | 0.092 |
| Tritanopia (no blue cones) | #470007 | 0.017 |
| Achromatopsia (no color) | #1C1C1C | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40030C
#40030C
oklch(23.9% 0.09 19.7)
- #002526
#002526
oklch(24% 0.041 197.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 #40030C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.014
- Deep Brown #410200 ΔE 0.018
- Mahogany #4A0100 ΔE 0.029
- Chocolate Brown #411900 ΔE 0.055
- Dark Plum #3F012C ΔE 0.060
- Dark Brown #341C02 ΔE 0.066
- Aubergine #3D0734 ΔE 0.072
- Eggplant #380835 ΔE 0.077
Use #40030C 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.