#796171
Closest named color: Dusky Purple (#895B7B). oklch(52.2% 0.039 338.7), rgb(121, 97, 113).
Aa
White text reads best on this color (5.58:1).
About this color
#796171 is a medium-dark, muted pink. In OKLCH its lightness is 52%, its chroma 0.039 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Dusky Purple (#895B7B), ΔE 0.038 away. White text reads best on it, at 5.58:1.
| Hue family | Pinks |
| Lightness | medium-dark (52%) |
| Chroma | muted (0.039) |
| Temperature | warm |
| Nearest name | Dusky Purple (#895B7B) |
| Black text | 3.76:1 |
| White text | 5.58:1 |
Values
| HEX | #796171 |
| RGB | rgb(121, 97, 113) |
| HSL | hsl(320, 11%, 43%) |
| OKLCH | oklch(52.2% 0.039 338.7) |
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 #796171 | 5.58:1 | AA | Lc -83.2 | Fine for body text |
| Black text on #796171 | 3.76:1 | AA large text | Lc 26.2 | Dividers and decoration only |
| #796171 text on white | 5.58:1 | AA | Lc 77.9 | Fine for body text |
| #796171 text on black | 3.76:1 | AA large text | Lc -23.9 | Dividers and decoration only |
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 700.
-
Step 50
50
#F7F5F6
oklch(97.2% 0.002 345.2)
-
Step 100
100
#ECE8EB
oklch(93.5% 0.006 334)
-
Step 200
200
#DED7DB
oklch(88.6% 0.009 341.8)
-
Step 300
300
#C9BCC5
oklch(80.9% 0.019 336.6)
-
Step 400
400
#AE9AA7
oklch(70.8% 0.03 338.8)
-
Step 500
500
#9A8191
oklch(63.1% 0.038 339.7)
-
Step 600
600
#846A7C
oklch(55.6% 0.042 337.6)
-
Step 700
700 (this color)
#796171
oklch(52.2% 0.039 338.7)
-
Step 800
800
#5B4855
oklch(42.6% 0.033 337.9)
-
Step 900
900
#4B3D46
oklch(37.8% 0.024 339.6)
-
Step 950
950
#2C2429
oklch(27.1% 0.015 340.2)
#796171 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) | #626672 | 0.038 |
| Deuteranopia (no green cones) | #676970 | 0.036 |
| Tritanopia (no blue cones) | #7C6166 | 0.018 |
| Achromatopsia (no color) | #686868 | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796171
#796171
oklch(52.2% 0.039 338.7)
- #577161
#577161
oklch(52.3% 0.04 157.7)
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 #796171, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusky Purple #895B7B ΔE 0.038
- Dim Gray #696969 ΔE 0.039
- Dull Purple #84597E ΔE 0.039
- Dusty Purple #825F87 ΔE 0.041
- Muted Purple #805B87 ΔE 0.045
- Grey Purple #826D8C ΔE 0.050
- Purple Grey #866F85 ΔE 0.050
- Battleship Gray #6C757D ΔE 0.056
Use #796171 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.