#5A313A
Closest named color: Purple Brown (#673A3F). oklch(36.8% 0.06 6.4), rgb(90, 49, 58).
Aa
White text reads best on this color (10.85:1).
About this color
#5A313A is a dark, muted red. In OKLCH its lightness is 37%, its chroma 0.060 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.038 away. White text reads best on it, at 10.85:1.
| Hue family | Reds |
| Lightness | dark (37%) |
| Chroma | muted (0.060) |
| Temperature | warm |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 1.93:1 |
| White text | 10.85:1 |
Values
| HEX | #5A313A |
| RGB | rgb(90, 49, 58) |
| HSL | hsl(347, 29%, 27%) |
| OKLCH | oklch(36.8% 0.06 6.4) |
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 #5A313A | 10.85:1 | AAA | Lc -98.8 | Preferred for body text |
| Black text on #5A313A | 1.93:1 | Fails | Lc 9.0 | Not readable |
| #5A313A text on white | 10.85:1 | AAA | Lc 94.9 | Preferred for body text |
| #5A313A text on black | 1.93:1 | Fails | Lc -7.7 | 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
#F9F4F5
oklch(97.1% 0.006 3.3)
-
Step 100
100
#F2E6E8
oklch(93.5% 0.013 5.8)
-
Step 200
200
#E9D3D6
oklch(88.6% 0.025 8.2)
-
Step 300
300
#DCB5BC
oklch(80.9% 0.046 6)
-
Step 400
400
#C98E99
oklch(70.8% 0.073 6.8)
-
Step 500
500
#B97180
oklch(63% 0.093 6.6)
-
Step 600
600
#A4596A
oklch(55.6% 0.1 6.3)
-
Step 700
700
#8D4858
oklch(49.1% 0.095 6.4)
-
Step 800
800
#723C48
oklch(42.7% 0.077 6.6)
-
Step 900
900 (this color)
#5A313A
oklch(36.8% 0.06 6.4)
-
Step 950
950
#361E23
oklch(26.9% 0.038 6.4)
#5A313A 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) | #38383A | 0.066 |
| Deuteranopia (no green cones) | #424039 | 0.061 |
| Tritanopia (no blue cones) | #612E34 | 0.017 |
| Achromatopsia (no color) | #3D3D3D | 0.061 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A313A
#5A313A
oklch(36.8% 0.06 6.4)
- #0A4944
#0A4944
oklch(36.7% 0.06 186.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 #5A313A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.038
- Charcoal Grey #3C4142 ΔE 0.067
- Onyx #343A40 ΔE 0.071
- Chestnut #742802 ΔE 0.077
- Brownish Purple #76424E ΔE 0.079
- Reddy Brown #6E1005 ΔE 0.080
- Claret #680018 ΔE 0.084
- Burgundy #610023 ΔE 0.084
Use #5A313A 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.