#20040C
Closest named color: Very Dark Brown (#1D0200). oklch(16.8% 0.052 4.9), rgb(32, 4, 12).
Aa
White text reads best on this color (19.37:1).
About this color
#20040C is a very dark, muted red. In OKLCH its lightness is 17%, its chroma 0.052 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.032 away. White text reads best on it, at 19.37:1.
| Hue family | Reds |
| Lightness | very dark (17%) |
| Chroma | muted (0.052) |
| Temperature | warm |
| Nearest name | Very Dark Brown (#1D0200) |
| Black text | 1.08:1 |
| White text | 19.37:1 |
Values
| HEX | #20040C |
| RGB | rgb(32, 4, 12) |
| HSL | hsl(343, 78%, 7%) |
| OKLCH | oklch(16.8% 0.052 4.9) |
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 #20040C | 19.37:1 | AAA | Lc -107.4 | Preferred for body text |
| Black text on #20040C | 1.08:1 | Fails | Lc 0.0 | Not readable |
| #20040C text on white | 19.37:1 | AAA | Lc 105.3 | Preferred for body text |
| #20040C text on black | 1.08: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
#FBF3F5
oklch(97.1% 0.009 0.1)
-
Step 100
100
#F5E5E8
oklch(93.5% 0.018 4.5)
-
Step 200
200
#EED0D6
oklch(88.4% 0.034 4.2)
-
Step 300
300
#E4B1BB
oklch(80.9% 0.061 5.4)
-
Step 400
400
#D48698
oklch(70.6% 0.098 4.9)
-
Step 500
500
#C7667F
oklch(63% 0.126 5)
-
Step 600
600
#B24C69
oklch(55.6% 0.135 4.8)
-
Step 700
700
#993C57
oklch(49.1% 0.127 5)
-
Step 800
800
#7C3247
oklch(42.6% 0.105 4.9)
-
Step 900
900
#642D3C
oklch(37.7% 0.081 4.5)
-
Step 950
950 (this color)
#20040C
oklch(16.8% 0.052 4.9)
#20040C 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) | #090A0C | 0.058 |
| Deuteranopia (no green cones) | #11100B | 0.053 |
| Tritanopia (no blue cones) | #240207 | 0.014 |
| Achromatopsia (no color) | #0D0D0D | 0.052 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20040C
#20040C
oklch(16.8% 0.052 4.9)
- #001311
#001311
oklch(16.8% 0.029 186.6)
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 #20040C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Brown #1D0200 ΔE 0.032
- Almost Black #070D0D ΔE 0.063
- Dark Maroon #3C0008 ΔE 0.072
- Rich Navy #001219 ΔE 0.079
- Very Dark Purple #2A0134 ΔE 0.084
- Deep Brown #410200 ΔE 0.088
- Rich Black #0D1B2A ΔE 0.089
- Midnight Purple #280137 ΔE 0.089
Use #20040C 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.