#50171A
Closest named color: Mahogany (#4A0100). oklch(29.9% 0.085 21), rgb(80, 23, 26).
Aa
White text reads best on this color (14.20:1).
About this color
#50171A is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.085 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.047 away. White text reads best on it, at 14.20:1.
| Hue family | Reds |
| Lightness | dark (30%) |
| Chroma | moderately saturated (0.085) |
| Temperature | warm |
| Nearest name | Mahogany (#4A0100) |
| Black text | 1.47:1 |
| White text | 14.20:1 |
Values
| HEX | #50171A |
| RGB | rgb(80, 23, 26) |
| HSL | hsl(357, 55%, 20%) |
| OKLCH | oklch(29.9% 0.085 21) |
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 #50171A | 14.20:1 | AAA | Lc -103.4 | Preferred for body text |
| Black text on #50171A | 1.47:1 | Fails | Lc 0.0 | Not readable |
| #50171A text on white | 14.20:1 | AAA | Lc 100.3 | Preferred for body text |
| #50171A text on black | 1.47:1 | Fails | Lc 0.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 950.
-
Step 50
50
#FFF2F1
oklch(97.1% 0.014 22.8)
-
Step 100
100
#FDE3E1
oklch(93.6% 0.029 23)
-
Step 200
200
#FCCBC9
oklch(88.4% 0.056 21)
-
Step 300
300
#FBA6A4
oklch(80.8% 0.101 21)
-
Step 400
400
#F57174
oklch(70.7% 0.163 20.8)
-
Step 500
500
#EC4150
oklch(63.1% 0.206 20.9)
-
Step 600
600
#D70034
oklch(55.6% 0.223 21)
-
Step 700
700
#B6002B
oklch(49.1% 0.197 20.8)
-
Step 800
800
#970021
oklch(42.7% 0.172 21.2)
-
Step 900
900
#791420
oklch(37.7% 0.134 21)
-
Step 950
950 (this color)
#50171A
oklch(29.9% 0.085 21)
#50171A 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) | #26231A | 0.092 |
| Deuteranopia (no green cones) | #342F19 | 0.085 |
| Tritanopia (no blue cones) | #580B19 | 0.023 |
| Achromatopsia (no color) | #2B2B2B | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #50171A
#50171A
oklch(29.9% 0.085 21)
- #003538
#003538
oklch(29.9% 0.051 200.9)
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 #50171A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mahogany #4A0100 ΔE 0.047
- Burgundy #610023 ΔE 0.048
- Chocolate Brown #411900 ΔE 0.050
- Claret #680018 ΔE 0.055
- Deep Brown #410200 ΔE 0.063
- Reddy Brown #6E1005 ΔE 0.069
- Dark Maroon #3C0008 ΔE 0.074
- Dark Brown #341C02 ΔE 0.075
Use #50171A 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.