#7F2840
Closest named color: Red Wine (#8C0034). oklch(41.6% 0.121 7.3), rgb(127, 40, 64).
Aa
White text reads best on this color (9.21:1).
About this color
#7F2840 is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.121 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.044 away. White text reads best on it, at 9.21:1.
| Hue family | Reds |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.121) |
| Temperature | warm |
| Nearest name | Red Wine (#8C0034) |
| Black text | 2.27:1 |
| White text | 9.21:1 |
Values
| HEX | #7F2840 |
| RGB | rgb(127, 40, 64) |
| HSL | hsl(343, 52%, 33%) |
| OKLCH | oklch(41.6% 0.121 7.3) |
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 #7F2840 | 9.21:1 | AAA | Lc -94.8 | Preferred for body text |
| Black text on #7F2840 | 2.27:1 | Fails | Lc 13.6 | Not readable |
| #7F2840 text on white | 9.21:1 | AAA | Lc 90.4 | Preferred for body text |
| #7F2840 text on black | 2.27:1 | Fails | Lc -11.9 | 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
#FCF3F4
oklch(97.1% 0.01 9.5)
-
Step 100
100
#F7E5E7
oklch(93.7% 0.02 9.8)
-
Step 200
200
#F1CFD4
oklch(88.5% 0.039 7.9)
-
Step 300
300
#EAAEB8
oklch(80.9% 0.071 7.7)
-
Step 400
400
#DC8294
oklch(70.7% 0.112 7.5)
-
Step 500
500
#D05F7A
oklch(63.1% 0.145 7.2)
-
Step 600
600
#BB4263
oklch(55.6% 0.157 7.1)
-
Step 700
700
#A13352
oklch(49.1% 0.146 7.2)
-
Step 800
800 (this color)
#7F2840
oklch(41.6% 0.121 7.3)
-
Step 900
900
#692839
oklch(37.6% 0.094 6.6)
-
Step 950
950
#3E1821
oklch(26.9% 0.06 7.1)
#7F2840 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) | #3B3D41 | 0.135 |
| Deuteranopia (no green cones) | #524E3E | 0.123 |
| Tritanopia (no blue cones) | #8A1B31 | 0.031 |
| Achromatopsia (no color) | #484848 | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F2840
#7F2840
oklch(41.6% 0.121 7.3)
- #005853
#005853
oklch(41.5% 0.072 188.1)
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 #7F2840, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Wine #8C0034 ΔE 0.044
- Red Purple #820747 ΔE 0.046
- Wine #80013F ΔE 0.047
- Bordeaux #7B002C ΔE 0.052
- Mulberry #920A4E ΔE 0.055
- Wine Red #7B0323 ΔE 0.055
- Brownish Purple #76424E ΔE 0.056
- Purple Brown #673A3F ΔE 0.059
Use #7F2840 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.