#840A31
Closest named color: Red Wine (#8C0034). oklch(39.6% 0.151 11.6), rgb(132, 10, 49).
Aa
White text reads best on this color (10.15:1).
About this color
#840A31 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.151 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.018 away. White text reads best on it, at 10.15:1.
| Hue family | Reds |
| Lightness | dark (40%) |
| Chroma | vivid (0.151) |
| Temperature | warm |
| Nearest name | Red Wine (#8C0034) |
| Black text | 2.06:1 |
| White text | 10.15:1 |
Values
| HEX | #840A31 |
| RGB | rgb(132, 10, 49) |
| HSL | hsl(341, 86%, 28%) |
| OKLCH | oklch(39.6% 0.151 11.6) |
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 #840A31 | 10.15:1 | AAA | Lc -96.0 | Preferred for body text |
| Black text on #840A31 | 2.06:1 | Fails | Lc 12.2 | Not readable |
| #840A31 text on white | 10.15:1 | AAA | Lc 91.7 | Preferred for body text |
| #840A31 text on black | 2.06:1 | Fails | Lc -10.7 | 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
#FFF2F3
oklch(97.2% 0.014 12)
-
Step 100
100
#FFE1E4
oklch(93.5% 0.033 10.9)
-
Step 200
200
#FFC9CF
oklch(88.5% 0.062 10.9)
-
Step 300
300
#FFA2AE
oklch(80.8% 0.111 11.5)
-
Step 400
400
#FC6783
oklch(70.7% 0.182 11.6)
-
Step 500
500
#F42964
oklch(63.1% 0.232 11.7)
-
Step 600
600
#D50051
oklch(55.7% 0.223 11.5)
-
Step 700
700
#B40043
oklch(49.1% 0.196 11.6)
-
Step 800
800
#950036
oklch(42.7% 0.171 11.6)
-
Step 900
900 (this color)
#840A31
oklch(39.6% 0.151 11.6)
-
Step 950
950
#4A081A
oklch(27% 0.096 11.5)
#840A31 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) | #323231 | 0.171 |
| Deuteranopia (no green cones) | #504A2E | 0.155 |
| Tritanopia (no blue cones) | #91001D | 0.038 |
| Achromatopsia (no color) | #414141 | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #840A31
#840A31
oklch(39.6% 0.151 11.6)
- #005250
#005250
oklch(39.6% 0.068 191.9)
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 #840A31, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Wine #8C0034 ΔE 0.018
- Bordeaux #7B002C ΔE 0.024
- Wine Red #7B0323 ΔE 0.028
- Wine #80013F ΔE 0.029
- Red Purple #820747 ΔE 0.038
- Merlot #730039 ΔE 0.047
- Dark Red #8B0000 ΔE 0.050
- Maroon #800000 ΔE 0.051
Use #840A31 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.