#5A171D
Closest named color: Burgundy (#610023). oklch(31.8% 0.097 19.7), rgb(90, 23, 29).
Aa
White text reads best on this color (13.33:1).
About this color
#5A171D is a dark, moderately saturated red. In OKLCH its lightness is 32%, its chroma 0.097 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.035 away. White text reads best on it, at 13.33:1.
| Hue family | Reds |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.097) |
| Temperature | warm |
| Nearest name | Burgundy (#610023) |
| Black text | 1.57:1 |
| White text | 13.33:1 |
Values
| HEX | #5A171D |
| RGB | rgb(90, 23, 29) |
| HSL | hsl(355, 59%, 22%) |
| OKLCH | oklch(31.8% 0.097 19.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 #5A171D | 13.33:1 | AAA | Lc -102.3 | Preferred for body text |
| Black text on #5A171D | 1.57:1 | Fails | Lc 0.0 | Not readable |
| #5A171D text on white | 13.33:1 | AAA | Lc 99.0 | Preferred for body text |
| #5A171D text on black | 1.57: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
#FFE2E1
oklch(93.6% 0.032 20.1)
-
Step 200
200
#FFCAC9
oklch(88.5% 0.06 19.6)
-
Step 300
300
#FFA4A4
oklch(80.9% 0.108 19.7)
-
Step 400
400
#FF6770
oklch(70.8% 0.185 19.7)
-
Step 500
500
#F7264A
oklch(63% 0.236 19.7)
-
Step 600
600
#D70038
oklch(55.6% 0.223 19.8)
-
Step 700
700
#B6002E
oklch(49.1% 0.197 19.8)
-
Step 800
800
#970025
oklch(42.8% 0.172 19.6)
-
Step 900
900
#7F001D
oklch(37.7% 0.152 19.9)
-
Step 950
950 (this color)
#5A171D
oklch(31.8% 0.097 19.7)
#5A171D 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) | #29261D | 0.106 |
| Deuteranopia (no green cones) | #3A351B | 0.099 |
| Tritanopia (no blue cones) | #63061A | 0.025 |
| Achromatopsia (no color) | #2F2F2F | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A171D
#5A171D
oklch(31.8% 0.097 19.7)
- #003A3D
#003A3D
oklch(31.7% 0.054 200.5)
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 #5A171D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Burgundy #610023 ΔE 0.035
- Claret #680018 ΔE 0.035
- Reddy Brown #6E1005 ΔE 0.049
- Mahogany #4A0100 ΔE 0.063
- Blood #770001 ΔE 0.066
- Chocolate Brown #411900 ΔE 0.070
- Wine Red #7B0323 ΔE 0.073
- Merlot #730039 ΔE 0.075
Use #5A171D 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.