#403D2D
Closest named color: Charcoal Grey (#3C4142). oklch(35.8% 0.027 98.7), rgb(64, 61, 45).
Aa
White text reads best on this color (10.91:1).
About this color
#403D2D is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.032 away. White text reads best on it, at 10.91:1.
| Hue family | Neutrals |
| Lightness | dark (36%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 1.92:1 |
| White text | 10.91:1 |
Values
| HEX | #403D2D |
| RGB | rgb(64, 61, 45) |
| HSL | hsl(51, 17%, 21%) |
| OKLCH | oklch(35.8% 0.027 98.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 #403D2D | 10.91:1 | AAA | Lc -99.2 | Preferred for body text |
| Black text on #403D2D | 1.92:1 | Fails | Lc 8.6 | Not readable |
| #403D2D text on white | 10.91:1 | AAA | Lc 95.3 | Preferred for body text |
| #403D2D text on black | 1.92:1 | Fails | Lc -7.4 | 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 900.
-
Step 50
50
#F6F5F3
oklch(97% 0.003 84.6)
-
Step 100
100
#EBEAE6
oklch(93.7% 0.005 95.1)
-
Step 200
200
#DBD9D1
oklch(88.5% 0.011 95.2)
-
Step 300
300
#C4C1B3
oklch(80.9% 0.02 96.9)
-
Step 400
400
#A5A18B
oklch(70.6% 0.031 98.6)
-
Step 500
500
#8F8A6E
oklch(63% 0.041 99)
-
Step 600
600
#7A7456
oklch(55.6% 0.044 98.1)
-
Step 700
700
#666146
oklch(49% 0.041 98.9)
-
Step 800
800
#544F3A
oklch(42.6% 0.033 96.3)
-
Step 900
900 (this color)
#403D2D
oklch(35.8% 0.027 98.7)
-
Step 950
950
#28271D
oklch(27% 0.018 102.8)
#403D2D 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) | #403C2C | 0.003 |
| Deuteranopia (no green cones) | #413D2E | 0.003 |
| Tritanopia (no blue cones) | #433B39 | 0.024 |
| Achromatopsia (no color) | #3D3D3D | 0.027 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #403D2D
#403D2D
oklch(35.8% 0.027 98.7)
- #393B4B
#393B4B
oklch(35.7% 0.028 279.3)
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 #403D2D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.032
- Onyx #343A40 ΔE 0.041
- Dark Olive #373E02 ΔE 0.055
- Pakistan Green #283618 ΔE 0.057
- Charcoal #264653 ΔE 0.066
- Dark Slate Gray #2F4F4F ΔE 0.066
- Gunmetal #293241 ΔE 0.070
- Evergreen #05472A ΔE 0.070
Use #403D2D 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.