#2B171D
Closest named color: Jet (#212529). oklch(23.4% 0.034 0.6), rgb(43, 23, 29).
Aa
White text reads best on this color (16.89:1).
About this color
#2B171D is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.034 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.047 away. White text reads best on it, at 16.89:1.
| Hue family | Reds |
| Lightness | very dark (23%) |
| Chroma | muted (0.034) |
| Temperature | warm |
| Nearest name | Jet (#212529) |
| Black text | 1.24:1 |
| White text | 16.89:1 |
Values
| HEX | #2B171D |
| RGB | rgb(43, 23, 29) |
| HSL | hsl(342, 30%, 13%) |
| OKLCH | oklch(23.4% 0.034 0.6) |
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 #2B171D | 16.89:1 | AAA | Lc -106.1 | Preferred for body text |
| Black text on #2B171D | 1.24:1 | Fails | Lc 0.0 | Not readable |
| #2B171D text on white | 16.89:1 | AAA | Lc 103.7 | Preferred for body text |
| #2B171D text on black | 1.24: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
#F9F4F5
oklch(97.1% 0.006 3.3)
-
Step 100
100
#F1E7E9
oklch(93.6% 0.011 3.5)
-
Step 200
200
#E7D3D8
oklch(88.5% 0.023 0.6)
-
Step 300
300
#D8B6BF
oklch(80.8% 0.041 0.3)
-
Step 400
400
#C3909E
oklch(70.6% 0.064 0.8)
-
Step 500
500
#B37487
oklch(63.1% 0.083 0.2)
-
Step 600
600
#9E5C70
oklch(55.5% 0.09 0.9)
-
Step 700
700
#874C5E
oklch(49.2% 0.083 1)
-
Step 800
800
#6D3E4D
oklch(42.5% 0.068 359.9)
-
Step 900
900
#593540
oklch(37.6% 0.054 0.2)
-
Step 950
950 (this color)
#2B171D
oklch(23.4% 0.034 0.6)
#2B171D 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) | #1A1B1D | 0.036 |
| Deuteranopia (no green cones) | #1F1E1D | 0.033 |
| Tritanopia (no blue cones) | #2E1619 | 0.009 |
| Achromatopsia (no color) | #1D1D1D | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2B171D
#2B171D
oklch(23.4% 0.034 0.6)
- #08231F
#08231F
oklch(23.4% 0.034 182)
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 #2B171D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.047
- Dark Brown #341C02 ΔE 0.053
- Dark #1B2431 ΔE 0.054
- Rich Black #0D1B2A ΔE 0.059
- Dark Maroon #3C0008 ΔE 0.061
- Chocolate Brown #411900 ΔE 0.066
- Oxford Blue #1B263B ΔE 0.067
- Deep Brown #410200 ΔE 0.067
Use #2B171D 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.