#7F1757
Closest named color: Red Purple (#820747). oklch(40.7% 0.151 348.5), rgb(127, 23, 87).
Aa
White text reads best on this color (9.71:1).
About this color
#7F1757 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.151 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.027 away. White text reads best on it, at 9.71:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | vivid (0.151) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.16:1 |
| White text | 9.71:1 |
Values
| HEX | #7F1757 |
| RGB | rgb(127, 23, 87) |
| HSL | hsl(323, 69%, 29%) |
| OKLCH | oklch(40.7% 0.151 348.5) |
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 #7F1757 | 9.71:1 | AAA | Lc -95.5 | Preferred for body text |
| Black text on #7F1757 | 2.16:1 | Fails | Lc 12.8 | Not readable |
| #7F1757 text on white | 9.71:1 | AAA | Lc 91.2 | Preferred for body text |
| #7F1757 text on black | 2.16: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
#FCF2F7
oklch(97% 0.013 345.5)
-
Step 100
100
#F8E3ED
oklch(93.6% 0.026 347.1)
-
Step 200
200
#F3CDDE
oklch(88.5% 0.048 349.4)
-
Step 300
300
#ECAACA
oklch(80.9% 0.087 348.6)
-
Step 400
400
#E079AF
oklch(70.7% 0.142 348.6)
-
Step 500
500
#D4529B
oklch(63.1% 0.18 348.7)
-
Step 600
600
#BF3086
oklch(55.6% 0.196 348.6)
-
Step 700
700
#A42072
oklch(49.1% 0.183 348.2)
-
Step 800
800 (this color)
#7F1757
oklch(40.7% 0.151 348.5)
-
Step 900
900
#6C204C
oklch(37.8% 0.118 348.5)
-
Step 950
950
#3F142C
oklch(26.9% 0.074 348.6)
#7F1757 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) | #293959 | 0.169 |
| Deuteranopia (no green cones) | #474B55 | 0.149 |
| Tritanopia (no blue cones) | #891135 | 0.060 |
| Achromatopsia (no color) | #444444 | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F1757
#7F1757
oklch(40.7% 0.151 348.5)
- #005741
#005741
oklch(40.6% 0.082 168.4)
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 #7F1757, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.027
- Velvet #750851 ΔE 0.030
- Wine #80013F ΔE 0.040
- Rich Purple #720058 ΔE 0.042
- Mulberry #920A4E ΔE 0.043
- Merlot #730039 ΔE 0.057
- Berry #990F4B ΔE 0.060
- Purple Red #990147 ΔE 0.061
Use #7F1757 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.