#840F4E
Closest named color: Red Purple (#820747). oklch(40.8% 0.157 355), rgb(132, 15, 78).
Aa
White text reads best on this color (9.72:1).
About this color
#840F4E 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.013 away. White text reads best on it, at 9.72: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.72:1 |
Values
| HEX | #840F4E |
| RGB | rgb(132, 15, 78) |
| HSL | hsl(328, 80%, 29%) |
| OKLCH | oklch(40.8% 0.157 355) |
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 #840F4E | 9.72:1 | AAA | Lc -95.3 | Preferred for body text |
| Black text on #840F4E | 2.15:1 | Fails | Lc 13.0 | Not readable |
| #840F4E text on white | 9.72:1 | AAA | Lc 90.9 | Preferred for body text |
| #840F4E 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
#F9E3EB
oklch(93.6% 0.026 353.5)
-
Step 200
200
#F6CCDB
oklch(88.5% 0.051 354.7)
-
Step 300
300
#F1A8C4
oklch(80.9% 0.092 354.6)
-
Step 400
400
#E676A5
oklch(70.7% 0.147 355)
-
Step 500
500
#DB4D8F
oklch(63.1% 0.187 355.1)
-
Step 600
600
#C62779
oklch(55.6% 0.203 355.1)
-
Step 700
700
#AA1666
oklch(49% 0.189 354.9)
-
Step 800
800 (this color)
#840F4E
oklch(40.8% 0.157 355)
-
Step 900
900
#6F1D45
oklch(37.7% 0.121 354.7)
-
Step 950
950
#421328
oklch(27.1% 0.077 355.8)
#840F4E 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) | #2B374F | 0.179 |
| Deuteranopia (no green cones) | #4C4C4B | 0.157 |
| Tritanopia (no blue cones) | #8F002E | 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°).
- #840F4E
#840F4E
oklch(40.8% 0.157 355)
- #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 #840F4E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.013
- Wine #80013F ΔE 0.026
- Mulberry #920A4E ΔE 0.030
- Velvet #750851 ΔE 0.038
- Red Wine #8C0034 ΔE 0.044
- Purple Red #990147 ΔE 0.046
- Berry #990F4B ΔE 0.047
- Merlot #730039 ΔE 0.052
Use #840F4E 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.