#7F1752
Closest named color: Red Purple (#820747). oklch(40.5% 0.148 351.5), rgb(127, 23, 82).
Aa
White text reads best on this color (9.78:1).
About this color
#7F1752 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.148 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.020 away. White text reads best on it, at 9.78:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | vivid (0.148) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.14:1 |
| White text | 9.78:1 |
Values
| HEX | #7F1752 |
| RGB | rgb(127, 23, 82) |
| HSL | hsl(326, 69%, 29%) |
| OKLCH | oklch(40.5% 0.148 351.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 #7F1752 | 9.78:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #7F1752 | 2.14:1 | Fails | Lc 12.6 | Not readable |
| #7F1752 text on white | 9.78:1 | AAA | Lc 91.4 | Preferred for body text |
| #7F1752 text on black | 2.14:1 | Fails | Lc -11.0 | 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
#FCF2F6
oklch(97% 0.012 351)
-
Step 100
100
#F8E3EC
oklch(93.5% 0.026 349.8)
-
Step 200
200
#F3CDDD
oklch(88.5% 0.047 350.9)
-
Step 300
300
#EDAAC7
oklch(80.9% 0.087 351.5)
-
Step 400
400
#E07AAA
oklch(70.7% 0.137 351.6)
-
Step 500
500
#D55395
oklch(63.1% 0.177 351.8)
-
Step 600
600
#C03180
oklch(55.6% 0.192 351.5)
-
Step 700
700
#A5216C
oklch(49.1% 0.179 351.4)
-
Step 800
800 (this color)
#7F1752
oklch(40.5% 0.148 351.5)
-
Step 900
900
#6C2148
oklch(37.7% 0.115 351.9)
-
Step 950
950
#40142A
oklch(27% 0.074 352.1)
#7F1752 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) | #2B3853 | 0.167 |
| Deuteranopia (no green cones) | #494A50 | 0.146 |
| Tritanopia (no blue cones) | #890C33 | 0.054 |
| Achromatopsia (no color) | #444444 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F1752
#7F1752
oklch(40.5% 0.148 351.5)
- #005744
#005744
oklch(40.7% 0.079 171.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 #7F1752, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.020
- Velvet #750851 ΔE 0.031
- Wine #80013F ΔE 0.032
- Mulberry #920A4E ΔE 0.040
- Rich Purple #720058 ΔE 0.045
- Merlot #730039 ΔE 0.051
- Red Wine #8C0034 ΔE 0.054
- Berry #990F4B ΔE 0.057
Use #7F1752 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.