#840A4D
Closest named color: Red Purple (#820747). oklch(40.5% 0.159 355.2), rgb(132, 10, 77).
Aa
White text reads best on this color (9.85:1).
About this color
#840A4D is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.159 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.85:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | vivid (0.159) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.13:1 |
| White text | 9.85:1 |
Values
| HEX | #840A4D |
| RGB | rgb(132, 10, 77) |
| HSL | hsl(327, 86%, 28%) |
| OKLCH | oklch(40.5% 0.159 355.2) |
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 #840A4D | 9.85:1 | AAA | Lc -95.4 | Preferred for body text |
| Black text on #840A4D | 2.13:1 | Fails | Lc 12.9 | Not readable |
| #840A4D text on white | 9.85:1 | AAA | Lc 91.1 | Preferred for body text |
| #840A4D text on black | 2.13:1 | Fails | Lc -11.3 | 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
#FAE3EB
oklch(93.7% 0.027 354.5)
-
Step 200
200
#F6CCDB
oklch(88.5% 0.051 354.7)
-
Step 300
300
#F1A8C3
oklch(80.9% 0.092 355.5)
-
Step 400
400
#E776A5
oklch(70.8% 0.148 355.3)
-
Step 500
500
#DC4B8F
oklch(63.1% 0.191 355.1)
-
Step 600
600
#C72479
oklch(55.6% 0.207 355.1)
-
Step 700
700
#AB1266
oklch(49% 0.192 354.9)
-
Step 800
800 (this color)
#840A4D
oklch(40.5% 0.159 355.2)
-
Step 900
900
#701C45
oklch(37.7% 0.124 354.9)
-
Step 950
950
#421228
oklch(27% 0.078 355.3)
#840A4D 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) | #2A354E | 0.181 |
| Deuteranopia (no green cones) | #4B4B4A | 0.160 |
| Tritanopia (no blue cones) | #8F002D | 0.056 |
| Achromatopsia (no color) | #434343 | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #840A4D
#840A4D
oklch(40.5% 0.159 355.2)
- #005647
#005647
oklch(40.5% 0.076 175.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 #840A4D, 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.024
- Mulberry #920A4E ΔE 0.031
- Velvet #750851 ΔE 0.036
- Red Wine #8C0034 ΔE 0.044
- Purple Red #990147 ΔE 0.047
- Berry #990F4B ΔE 0.049
- Merlot #730039 ΔE 0.050
Use #840A4D 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.