#40122B
Closest named color: Aubergine (#3D0734). oklch(26.7% 0.078 350), rgb(64, 18, 43).
Aa
White text reads best on this color (15.67:1).
About this color
#40122B is a dark, moderately saturated red. In OKLCH its lightness is 27%, its chroma 0.078 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.033 away. White text reads best on it, at 15.67:1.
| Hue family | Reds |
| Lightness | dark (27%) |
| Chroma | moderately saturated (0.078) |
| Temperature | warm |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.33:1 |
| White text | 15.67:1 |
Values
| HEX | #40122B |
| RGB | rgb(64, 18, 43) |
| HSL | hsl(327, 56%, 16%) |
| OKLCH | oklch(26.7% 0.078 350) |
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 #40122B | 15.67:1 | AAA | Lc -104.9 | Preferred for body text |
| Black text on #40122B | 1.33:1 | Fails | Lc 0.0 | Not readable |
| #40122B text on white | 15.67:1 | AAA | Lc 102.2 | Preferred for body text |
| #40122B text on black | 1.33: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
#FCF2F6
oklch(97% 0.012 351)
-
Step 100
100
#F9E3EC
oklch(93.6% 0.027 350.9)
-
Step 200
200
#F5CCDE
oklch(88.5% 0.052 350)
-
Step 300
300
#EFA8C9
oklch(80.9% 0.093 349.9)
-
Step 400
400
#E377AD
oklch(70.7% 0.147 350.2)
-
Step 500
500
#D84D99
oklch(63.1% 0.189 350.1)
-
Step 600
600
#C32884
oklch(55.6% 0.205 349.9)
-
Step 700
700
#A81770
oklch(49.1% 0.191 349.8)
-
Step 800
800
#88185B
oklch(42.6% 0.158 349.7)
-
Step 900
900
#6E1D4B
oklch(37.7% 0.124 349.7)
-
Step 950
950 (this color)
#40122B
oklch(26.7% 0.078 350)
#40122B 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) | #181E2C | 0.086 |
| Deuteranopia (no green cones) | #25262A | 0.077 |
| Tritanopia (no blue cones) | #45101C | 0.029 |
| Achromatopsia (no color) | #232323 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40122B
#40122B
oklch(26.7% 0.078 350)
- #002E22
#002E22
oklch(26.8% 0.053 170.2)
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 #40122B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.033
- Dark Plum #3F012C ΔE 0.034
- Eggplant #380835 ΔE 0.040
- Eggplant Purple #430541 ΔE 0.051
- Dark Purple #35063E ΔE 0.058
- Deep Violet #490648 ΔE 0.062
- Dark Maroon #3C0008 ΔE 0.062
- Deep Purple #36013F ΔE 0.064
Use #40122B 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.