#7F173D
Closest named color: Wine (#80013F). oklch(39.8% 0.14 4.9), rgb(127, 23, 61).
Aa
White text reads best on this color (10.03:1).
About this color
#7F173D is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.140 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.021 away. White text reads best on it, at 10.03:1.
| Hue family | Reds |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.140) |
| Temperature | warm |
| Nearest name | Wine (#80013F) |
| Black text | 2.09:1 |
| White text | 10.03:1 |
Values
| HEX | #7F173D |
| RGB | rgb(127, 23, 61) |
| HSL | hsl(338, 69%, 29%) |
| OKLCH | oklch(39.8% 0.14 4.9) |
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 #7F173D | 10.03:1 | AAA | Lc -96.2 | Preferred for body text |
| Black text on #7F173D | 2.09:1 | Fails | Lc 12.0 | Not readable |
| #7F173D text on white | 10.03:1 | AAA | Lc 92.0 | Preferred for body text |
| #7F173D text on black | 2.09:1 | Fails | Lc -10.4 | 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
#FEF2F4
oklch(97.1% 0.013 5.8)
-
Step 100
100
#FDE2E7
oklch(93.6% 0.03 5)
-
Step 200
200
#FCCAD4
oklch(88.5% 0.058 4.9)
-
Step 300
300
#FBA4B8
oklch(81% 0.105 4.7)
-
Step 400
400
#F36D93
oklch(70.6% 0.168 4.6)
-
Step 500
500
#EA3A78
oklch(63% 0.214 4.9)
-
Step 600
600
#D20062
oklch(55.6% 0.223 4.8)
-
Step 700
700
#B20052
oklch(49.1% 0.197 4.8)
-
Step 800
800
#930042
oklch(42.7% 0.171 5.1)
-
Step 900
900 (this color)
#7F173D
oklch(39.8% 0.14 4.9)
-
Step 950
950
#470D21
oklch(27% 0.088 4.6)
#7F173D 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) | #32353E | 0.157 |
| Deuteranopia (no green cones) | #4D493B | 0.142 |
| Tritanopia (no blue cones) | #8B0028 | 0.038 |
| Achromatopsia (no color) | #424242 | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F173D
#7F173D
oklch(39.8% 0.14 4.9)
- #00534C
#00534C
oklch(39.8% 0.07 185.1)
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 #7F173D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wine #80013F ΔE 0.021
- Red Purple #820747 ΔE 0.025
- Red Wine #8C0034 ΔE 0.030
- Bordeaux #7B002C ΔE 0.031
- Wine Red #7B0323 ΔE 0.040
- Merlot #730039 ΔE 0.040
- Mulberry #920A4E ΔE 0.048
- Velvet #750851 ΔE 0.051
Use #7F173D 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.