#840E3A
Closest named color: Red Wine (#8C0034). oklch(40% 0.151 6.8), rgb(132, 14, 58).
Aa
White text reads best on this color (9.97:1).
About this color
#840E3A is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.151 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.019 away. White text reads best on it, at 9.97:1.
| Hue family | Reds |
| Lightness | dark (40%) |
| Chroma | vivid (0.151) |
| Temperature | warm |
| Nearest name | Red Wine (#8C0034) |
| Black text | 2.10:1 |
| White text | 9.97:1 |
Values
| HEX | #840E3A |
| RGB | rgb(132, 14, 58) |
| HSL | hsl(338, 81%, 29%) |
| OKLCH | oklch(40% 0.151 6.8) |
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 #840E3A | 9.97:1 | AAA | Lc -95.8 | Preferred for body text |
| Black text on #840E3A | 2.10:1 | Fails | Lc 12.5 | Not readable |
| #840E3A text on white | 9.97:1 | AAA | Lc 91.5 | Preferred for body text |
| #840E3A text on black | 2.10:1 | Fails | Lc -10.9 | 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
#FFF2F4
oklch(97.2% 0.014 6.7)
-
Step 100
100
#FFE1E6
oklch(93.6% 0.034 6.4)
-
Step 200
200
#FFC9D2
oklch(88.6% 0.062 7.2)
-
Step 300
300
#FFA1B4
oklch(80.8% 0.113 6.8)
-
Step 400
400
#F9688E
oklch(70.7% 0.18 6.6)
-
Step 500
500
#F12B72
oklch(63% 0.231 6.7)
-
Step 600
600
#D3005D
oklch(55.6% 0.223 6.9)
-
Step 700
700
#B3004E
oklch(49.2% 0.197 6.8)
-
Step 800
800
#94003F
oklch(42.8% 0.171 6.9)
-
Step 900
900 (this color)
#840E3A
oklch(40% 0.151 6.8)
-
Step 950
950
#49081E
oklch(26.9% 0.095 7)
#840E3A 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) | #31343B | 0.171 |
| Deuteranopia (no green cones) | #4F4B37 | 0.155 |
| Tritanopia (no blue cones) | #910023 | 0.042 |
| Achromatopsia (no color) | #424242 | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #840E3A
#840E3A
oklch(40% 0.151 6.8)
- #00544E
#00544E
oklch(40.1% 0.07 186.5)
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 #840E3A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Wine #8C0034 ΔE 0.019
- Wine #80013F ΔE 0.020
- Red Purple #820747 ΔE 0.025
- Bordeaux #7B002C ΔE 0.031
- Wine Red #7B0323 ΔE 0.039
- Mulberry #920A4E ΔE 0.043
- Merlot #730039 ΔE 0.044
- Purple Red #990147 ΔE 0.048
Use #840E3A 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.