#40182C
Closest named color: Aubergine (#3D0734). oklch(27.7% 0.068 351.2), rgb(64, 24, 44).
Aa
White text reads best on this color (15.16:1).
About this color
#40182C is a dark, muted red. In OKLCH its lightness is 28%, its chroma 0.068 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.044 away. White text reads best on it, at 15.16:1.
| Hue family | Reds |
| Lightness | dark (28%) |
| Chroma | muted (0.068) |
| Temperature | warm |
| Nearest name | Aubergine (#3D0734) |
| Black text | 1.38:1 |
| White text | 15.16:1 |
Values
| HEX | #40182C |
| RGB | rgb(64, 24, 44) |
| HSL | hsl(330, 45%, 17%) |
| OKLCH | oklch(27.7% 0.068 351.2) |
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 #40182C | 15.16:1 | AAA | Lc -104.6 | Preferred for body text |
| Black text on #40182C | 1.38:1 | Fails | Lc 0.0 | Not readable |
| #40182C text on white | 15.16:1 | AAA | Lc 101.8 | Preferred for body text |
| #40182C text on black | 1.38: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
#FCF3F6
oklch(97.2% 0.01 354.9)
-
Step 100
100
#F7E4EC
oklch(93.6% 0.023 350.1)
-
Step 200
200
#F2CEDD
oklch(88.6% 0.045 351)
-
Step 300
300
#EAACC7
oklch(81% 0.08 351.2)
-
Step 400
400
#DC7DAA
oklch(70.6% 0.128 351.1)
-
Step 500
500
#D05895
oklch(63% 0.165 351.2)
-
Step 600
600
#BB3980
oklch(55.6% 0.179 350.9)
-
Step 700
700
#A12A6C
oklch(49.1% 0.167 351.1)
-
Step 800
800
#832558
oklch(42.7% 0.138 351.2)
-
Step 900
900
#692448
oklch(37.6% 0.107 351.1)
-
Step 950
950 (this color)
#40182C
oklch(27.7% 0.068 351.2)
#40182C 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) | #1D212D | 0.074 |
| Deuteranopia (no green cones) | #28292B | 0.068 |
| Tritanopia (no blue cones) | #451620 | 0.024 |
| Achromatopsia (no color) | #262626 | 0.068 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40182C
#40182C
oklch(27.7% 0.068 351.2)
- #003025
#003025
oklch(27.6% 0.053 172.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 #40182C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Aubergine #3D0734 ΔE 0.044
- Dark Plum #3F012C ΔE 0.048
- Eggplant #380835 ΔE 0.050
- Eggplant Purple #430541 ΔE 0.058
- Dark Purple #35063E ΔE 0.066
- Deep Violet #490648 ΔE 0.067
- Chocolate Brown #411900 ΔE 0.068
- Dark Maroon #3C0008 ΔE 0.069
Use #40182C 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.