#840F41
Closest named color: Red Purple (#820747). oklch(40.3% 0.152 2.7), rgb(132, 15, 65).
Aa
White text reads best on this color (9.87:1).
About this color
#840F41 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.152 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.015 away. White text reads best on it, at 9.87:1.
| Hue family | Reds |
| Lightness | dark (40%) |
| Chroma | vivid (0.152) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.12:1 |
| White text | 9.87:1 |
Values
| HEX | #840F41 |
| RGB | rgb(132, 15, 65) |
| HSL | hsl(334, 80%, 29%) |
| OKLCH | oklch(40.3% 0.152 2.7) |
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 #840F41 | 9.87:1 | AAA | Lc -95.6 | Preferred for body text |
| Black text on #840F41 | 2.12:1 | Fails | Lc 12.7 | Not readable |
| #840F41 text on white | 9.87:1 | AAA | Lc 91.3 | Preferred for body text |
| #840F41 text on black | 2.12:1 | Fails | Lc -11.1 | 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
#FDF2F5
oklch(97.1% 0.012 358.8)
-
Step 100
100
#FAE3E8
oklch(93.6% 0.026 2.8)
-
Step 200
200
#F7CCD6
oklch(88.5% 0.05 2.5)
-
Step 300
300
#F2A9BB
oklch(80.9% 0.089 3.1)
-
Step 400
400
#E77898
oklch(70.7% 0.141 3)
-
Step 500
500
#DD4F7F
oklch(63.2% 0.181 3)
-
Step 600
600
#C82969
oklch(55.6% 0.198 2.5)
-
Step 700
700
#AC1957
oklch(49.1% 0.183 2.7)
-
Step 800
800 (this color)
#840F41
oklch(40.3% 0.152 2.7)
-
Step 900
900
#711E3C
oklch(37.8% 0.118 2.7)
-
Step 950
950
#421323
oklch(26.9% 0.075 2.4)
#840F41 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) | #303542 | 0.172 |
| Deuteranopia (no green cones) | #4E4B3E | 0.155 |
| Tritanopia (no blue cones) | #900027 | 0.045 |
| Achromatopsia (no color) | #434343 | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #840F41
#840F41
oklch(40.3% 0.152 2.7)
- #00554C
#00554C
oklch(40.4% 0.072 182.7)
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 #840F41, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.015
- Wine #80013F ΔE 0.016
- Red Wine #8C0034 ΔE 0.026
- Mulberry #920A4E ΔE 0.035
- Bordeaux #7B002C ΔE 0.038
- Merlot #730039 ΔE 0.044
- Purple Red #990147 ΔE 0.045
- Berry #990F4B ΔE 0.047
Use #840F41 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.