#7F1255
Closest named color: Red Purple (#820747). oklch(40.3% 0.154 349.3), rgb(127, 18, 85).
Aa
White text reads best on this color (9.90:1).
About this color
#7F1255 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.154 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.024 away. White text reads best on it, at 9.90:1.
| Hue family | Reds |
| Lightness | dark (40%) |
| Chroma | vivid (0.154) |
| Temperature | warm |
| Nearest name | Red Purple (#820747) |
| Black text | 2.12:1 |
| White text | 9.90:1 |
Values
| HEX | #7F1255 |
| RGB | rgb(127, 18, 85) |
| HSL | hsl(323, 75%, 28%) |
| OKLCH | oklch(40.3% 0.154 349.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 #7F1255 | 9.90:1 | AAA | Lc -95.8 | Preferred for body text |
| Black text on #7F1255 | 2.12:1 | Fails | Lc 12.4 | Not readable |
| #7F1255 text on white | 9.90:1 | AAA | Lc 91.5 | Preferred for body text |
| #7F1255 text on black | 2.12:1 | Fails | Lc -10.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
#FCF2F7
oklch(97% 0.013 345.5)
-
Step 100
100
#F8E3EC
oklch(93.5% 0.026 349.8)
-
Step 200
200
#F4CCDE
oklch(88.5% 0.051 349.3)
-
Step 300
300
#EDA9CA
oklch(80.9% 0.09 348.7)
-
Step 400
400
#E178AE
oklch(70.6% 0.144 349.3)
-
Step 500
500
#D6509A
oklch(63.1% 0.184 349.5)
-
Step 600
600
#C12C85
oklch(55.6% 0.201 349.3)
-
Step 700
700
#A61C71
oklch(49.1% 0.187 349)
-
Step 800
800 (this color)
#7F1255
oklch(40.3% 0.154 349.3)
-
Step 900
900
#6D1F4B
oklch(37.8% 0.12 349.6)
-
Step 950
950
#40142C
oklch(27.1% 0.075 349.5)
#7F1255 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) | #273757 | 0.174 |
| Deuteranopia (no green cones) | #474A53 | 0.152 |
| Tritanopia (no blue cones) | #890833 | 0.060 |
| Achromatopsia (no color) | #434343 | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F1255
#7F1255
oklch(40.3% 0.154 349.3)
- #005641
#005641
oklch(40.3% 0.08 169.2)
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 #7F1255, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Purple #820747 ΔE 0.024
- Velvet #750851 ΔE 0.027
- Wine #80013F ΔE 0.036
- Rich Purple #720058 ΔE 0.039
- Mulberry #920A4E ΔE 0.043
- Merlot #730039 ΔE 0.053
- Red Wine #8C0034 ΔE 0.060
- Berry #990F4B ΔE 0.061
Use #7F1255 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.