#5F171B
Closest named color: Claret (#680018). oklch(32.8% 0.104 22.1), rgb(95, 23, 27).
Aa
White text reads best on this color (12.92:1).
About this color
#5F171B is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.104 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Claret (#680018), ΔE 0.029 away. White text reads best on it, at 12.92:1.
| Hue family | Reds |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.104) |
| Temperature | warm |
| Nearest name | Claret (#680018) |
| Black text | 1.62:1 |
| White text | 12.92:1 |
Values
| HEX | #5F171B |
| RGB | rgb(95, 23, 27) |
| HSL | hsl(357, 61%, 23%) |
| OKLCH | oklch(32.8% 0.104 22.1) |
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 #5F171B | 12.92:1 | AAA | Lc -101.6 | Preferred for body text |
| Black text on #5F171B | 1.62:1 | Fails | Lc 0.0 | Not readable |
| #5F171B text on white | 12.92:1 | AAA | Lc 98.2 | Preferred for body text |
| #5F171B text on black | 1.62: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 900.
-
Step 50
50
#FCF3F2
oklch(97.1% 0.01 25.1)
-
Step 100
100
#F9E4E3
oklch(93.5% 0.023 20.9)
-
Step 200
200
#F5CFCC
oklch(88.6% 0.043 23.3)
-
Step 300
300
#EFADAA
oklch(80.9% 0.078 21.9)
-
Step 400
400
#E47F7D
oklch(70.7% 0.125 21.9)
-
Step 500
500
#D95B5C
oklch(63.2% 0.159 22.3)
-
Step 600
600
#C43C42
oklch(55.7% 0.172 22.4)
-
Step 700
700
#A92C34
oklch(49.1% 0.161 22.2)
-
Step 800
800
#89272C
oklch(42.7% 0.132 22)
-
Step 900
900 (this color)
#5F171B
oklch(32.8% 0.104 22.1)
-
Step 950
950
#411717
oklch(27% 0.066 22.5)
#5F171B 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) | #2B281B | 0.113 |
| Deuteranopia (no green cones) | #3D3719 | 0.103 |
| Tritanopia (no blue cones) | #690219 | 0.028 |
| Achromatopsia (no color) | #313131 | 0.105 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F171B
#5F171B
oklch(32.8% 0.104 22.1)
- #003D41
#003D41
oklch(32.8% 0.056 202.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 #5F171B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Claret #680018 ΔE 0.029
- Burgundy #610023 ΔE 0.036
- Reddy Brown #6E1005 ΔE 0.037
- Blood #770001 ΔE 0.054
- Wine Red #7B0323 ΔE 0.062
- Bordeaux #7B002C ΔE 0.068
- Merlot #730039 ΔE 0.070
- Chestnut #742802 ΔE 0.070
Use #5F171B 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.