#400A21
Closest named color: Dark Plum (#3F012C). oklch(25.3% 0.085 359.5), rgb(64, 10, 33).
Aa
White text reads best on this color (16.36:1).
About this color
#400A21 is a dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.085 and its hue 360°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.031 away. White text reads best on it, at 16.36:1.
| Hue family | Reds |
| Lightness | dark (25%) |
| Chroma | moderately saturated (0.085) |
| Temperature | warm |
| Nearest name | Dark Plum (#3F012C) |
| Black text | 1.28:1 |
| White text | 16.36:1 |
Values
| HEX | #400A21 |
| RGB | rgb(64, 10, 33) |
| HSL | hsl(334, 73%, 15%) |
| OKLCH | oklch(25.3% 0.085 359.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 #400A21 | 16.36:1 | AAA | Lc -105.3 | Preferred for body text |
| Black text on #400A21 | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #400A21 text on white | 16.36:1 | AAA | Lc 102.7 | Preferred for body text |
| #400A21 text on black | 1.28: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
#FEF2F5
oklch(97.1% 0.013 0.3)
-
Step 100
100
#FCE2E9
oklch(93.6% 0.03 359.5)
-
Step 200
200
#FACAD8
oklch(88.5% 0.057 359)
-
Step 300
300
#F7A5BE
oklch(80.9% 0.101 359.8)
-
Step 400
400
#EE709D
oklch(70.6% 0.161 359.6)
-
Step 500
500
#E44185
oklch(63% 0.206 359.6)
-
Step 600
600
#CF066F
oklch(55.5% 0.223 359.5)
-
Step 700
700
#B0005D
oklch(49.1% 0.199 359.5)
-
Step 800
800
#91024C
oklch(42.7% 0.172 359.4)
-
Step 900
900
#75143F
oklch(37.7% 0.135 359.7)
-
Step 950
950 (this color)
#400A21
oklch(25.3% 0.085 359.5)
#400A21 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) | #161922 | 0.095 |
| Deuteranopia (no green cones) | #242320 | 0.085 |
| Tritanopia (no blue cones) | #460314 | 0.026 |
| Achromatopsia (no color) | #202020 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #400A21
#400A21
oklch(25.3% 0.085 359.5)
- #002923
#002923
oklch(25.2% 0.046 180.4)
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 #400A21, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Plum #3F012C ΔE 0.031
- Aubergine #3D0734 ΔE 0.040
- Dark Maroon #3C0008 ΔE 0.043
- Eggplant #380835 ΔE 0.046
- Deep Brown #410200 ΔE 0.051
- Mahogany #4A0100 ΔE 0.053
- Eggplant Purple #430541 ΔE 0.062
- Dark Purple #35063E ΔE 0.067
Use #400A21 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.