#7E1A52
Closest named color: Red Purple (#820747). oklch(40.6% 0.144 351.4), rgb(126, 26, 82).
Aa
White text reads best on this color (9.73:1).
About this color
#7E1A52 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.144 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.023 away. White text reads best on it, at 9.73:1.
| Hue family | Reds |
| Lightness | dark (41%) |
| Chroma | vivid (0.144) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.15:1 |
| White text | 9.73:1 |
Values
| HEX | #7E1A52 |
| RGB | rgb(126, 26, 82) |
| HSL | hsl(326, 66%, 30%) |
| OKLCH | oklch(40.6% 0.144 351.4) |
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 #7E1A52 | 9.73:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #7E1A52 | 2.15:1 | Fails | Lc 12.6 | Not readable |
| #7E1A52 text on white | 9.73:1 | AAA | Lc 91.4 | Preferred for body text |
| #7E1A52 text on black | 2.15: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
#F8E4EC
oklch(93.7% 0.024 351.3)
-
Step 200
200
#F3CDDD
oklch(88.5% 0.047 350.9)
-
Step 300
300
#ECABC7
oklch(81% 0.084 351.6)
-
Step 400
400
#DF7BAA
oklch(70.7% 0.135 351.5)
-
Step 500
500
#D35595
oklch(63.1% 0.172 351.6)
-
Step 600
600
#BE3480
oklch(55.6% 0.188 351.2)
-
Step 700
700
#A4256C
oklch(49.2% 0.175 351.5)
-
Step 800
800 (this color)
#7E1A52
oklch(40.6% 0.144 351.4)
-
Step 900
900
#6B2248
oklch(37.7% 0.112 351.6)
-
Step 950
950
#3F152A
oklch(26.9% 0.071 351.8)
#7E1A52 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) | #2C3953 | 0.162 |
| Deuteranopia (no green cones) | #494A50 | 0.142 |
| Tritanopia (no blue cones) | #881134 | 0.052 |
| Achromatopsia (no color) | #444444 | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E1A52
#7E1A52
oklch(40.6% 0.144 351.4)
- #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 #7E1A52, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.023
- Velvet #750851 ΔE 0.032
- Wine #80013F ΔE 0.034
- Mulberry #920A4E ΔE 0.042
- Rich Purple #720058 ΔE 0.047
- Merlot #730039 ΔE 0.052
- Red Wine #8C0034 ΔE 0.055
- Berry #990F4B ΔE 0.058
Use #7E1A52 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.