#7F1842
Closest named color: Wine (#80013F). oklch(40% 0.14 1.8), rgb(127, 24, 66).
Aa
White text reads best on this color (9.94:1).
About this color
#7F1842 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.140 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.020 away. White text reads best on it, at 9.94:1.
| Hue family | Reds |
| Lightness | dark (40%) |
| Chroma | vivid (0.140) |
| Temperature | warm |
| Nearest name | Wine (#80013F) |
| Black text | 2.11:1 |
| White text | 9.94:1 |
Values
| HEX | #7F1842 |
| RGB | rgb(127, 24, 66) |
| HSL | hsl(336, 68%, 30%) |
| OKLCH | oklch(40% 0.14 1.8) |
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 #7F1842 | 9.94:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #7F1842 | 2.11:1 | Fails | Lc 12.2 | Not readable |
| #7F1842 text on white | 9.94:1 | AAA | Lc 91.8 | Preferred for body text |
| #7F1842 text on black | 2.11:1 | Fails | Lc -10.6 | 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 900.
-
Step 50
50
#FEF2F5
oklch(97.1% 0.013 0.3)
-
Step 100
100
#FDE2E8
oklch(93.6% 0.031 2.6)
-
Step 200
200
#FCCAD6
oklch(88.6% 0.059 2.3)
-
Step 300
300
#FAA4BB
oklch(81% 0.105 2.3)
-
Step 400
400
#F26D99
oklch(70.7% 0.169 1.6)
-
Step 500
500
#E93A80
oklch(63.1% 0.215 1.7)
-
Step 600
600
#D10069
oklch(55.6% 0.224 2)
-
Step 700
700
#B10058
oklch(49.1% 0.198 2)
-
Step 800
800
#920048
oklch(42.6% 0.172 1.7)
-
Step 900
900 (this color)
#7F1842
oklch(40% 0.14 1.8)
-
Step 950
950
#470D23
oklch(27.1% 0.089 2.3)
#7F1842 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) | #313643 | 0.158 |
| Deuteranopia (no green cones) | #4D4A40 | 0.142 |
| Tritanopia (no blue cones) | #8A002B | 0.040 |
| Achromatopsia (no color) | #434343 | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F1842
#7F1842
oklch(40% 0.14 1.8)
- #00544A
#00544A
oklch(40% 0.072 181.3)
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 #7F1842, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wine #80013F ΔE 0.020
- Red Purple #820747 ΔE 0.020
- Red Wine #8C0034 ΔE 0.034
- Bordeaux #7B002C ΔE 0.037
- Merlot #730039 ΔE 0.041
- Mulberry #920A4E ΔE 0.044
- Velvet #750851 ΔE 0.046
- Wine Red #7B0323 ΔE 0.047
Use #7F1842 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.