#840E4D
Closest named color: Red Purple (#820747). oklch(40.7% 0.157 355.5), rgb(132, 14, 77).
Aa
White text reads best on this color (9.76:1).
About this color
#840E4D is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.157 and its hue 355°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.011 away. White text reads best on it, at 9.76:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | vivid (0.157) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.15:1 |
| White text | 9.76:1 |
Values
| HEX | #840E4D |
| RGB | rgb(132, 14, 77) |
| HSL | hsl(328, 81%, 29%) |
| OKLCH | oklch(40.7% 0.157 355.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 #840E4D | 9.76:1 | AAA | Lc -95.3 | Preferred for body text |
| Black text on #840E4D | 2.15:1 | Fails | Lc 13.0 | Not readable |
| #840E4D text on white | 9.76:1 | AAA | Lc 91.0 | Preferred for body text |
| #840E4D text on black | 2.15:1 | Fails | Lc -11.4 | 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 800.
-
Step 50
50
#FDF2F6
oklch(97.1% 0.013 353.1)
-
Step 100
100
#F9E3EA
oklch(93.6% 0.026 356.3)
-
Step 200
200
#F6CCDA
oklch(88.5% 0.051 356.2)
-
Step 300
300
#F1A8C3
oklch(80.9% 0.092 355.5)
-
Step 400
400
#E676A4
oklch(70.6% 0.147 355.6)
-
Step 500
500
#DB4D8E
oklch(63.1% 0.187 355.6)
-
Step 600
600
#C62678
oklch(55.5% 0.204 355.5)
-
Step 700
700
#AB1565
oklch(49.1% 0.19 355.6)
-
Step 800
800 (this color)
#840E4D
oklch(40.7% 0.157 355.5)
-
Step 900
900
#701D44
oklch(37.8% 0.122 355.9)
-
Step 950
950
#421328
oklch(27.1% 0.077 355.8)
#840E4D 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) | #2B364E | 0.179 |
| Deuteranopia (no green cones) | #4C4B4A | 0.156 |
| Tritanopia (no blue cones) | #8F002D | 0.055 |
| Achromatopsia (no color) | #444444 | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #840E4D
#840E4D
oklch(40.7% 0.157 355.5)
- #005747
#005747
oklch(40.8% 0.077 174.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 #840E4D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.011
- Wine #80013F ΔE 0.025
- Mulberry #920A4E ΔE 0.030
- Velvet #750851 ΔE 0.038
- Red Wine #8C0034 ΔE 0.043
- Purple Red #990147 ΔE 0.046
- Berry #990F4B ΔE 0.047
- Merlot #730039 ΔE 0.051
Use #840E4D 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.