#2E171F
Closest named color: Jet (#212529). oklch(24% 0.039 358.2), rgb(46, 23, 31).
Aa
White text reads best on this color (16.68:1).
About this color
#2E171F is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.039 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.049 away. White text reads best on it, at 16.68:1.
| Hue family | Reds |
| Lightness | very dark (24%) |
| Chroma | muted (0.039) |
| Temperature | warm |
| Nearest name | Jet (#212529) |
| Black text | 1.25:1 |
| White text | 16.68:1 |
Values
| HEX | #2E171F |
| RGB | rgb(46, 23, 31) |
| HSL | hsl(339, 33%, 14%) |
| OKLCH | oklch(24% 0.039 358.2) |
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 #2E171F | 16.68:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #2E171F | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #2E171F text on white | 16.68:1 | AAA | Lc 103.5 | Preferred for body text |
| #2E171F text on black | 1.25: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
#F2E6EA
oklch(93.6% 0.014 355)
-
Step 200
200
#E8D2D9
oklch(88.4% 0.026 356.4)
-
Step 300
300
#DBB5C0
oklch(81% 0.046 358.9)
-
Step 400
400
#C78EA0
oklch(70.7% 0.073 358.5)
-
Step 500
500
#B87189
oklch(63.2% 0.094 358.4)
-
Step 600
600
#A35873
oklch(55.6% 0.103 358.1)
-
Step 700
700
#8B4860
oklch(49.1% 0.095 358.4)
-
Step 800
800
#713B4F
oklch(42.6% 0.08 357.4)
-
Step 900
900
#5C3341
oklch(37.7% 0.062 358.6)
-
Step 950
950 (this color)
#2E171F
oklch(24% 0.039 358.2)
#2E171F 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) | #1A1B1F | 0.042 |
| Deuteranopia (no green cones) | #201F1E | 0.038 |
| Tritanopia (no blue cones) | #31161A | 0.011 |
| Achromatopsia (no color) | #1E1E1E | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2E171F
#2E171F
oklch(24% 0.039 358.2)
- #05251F
#05251F
oklch(23.9% 0.039 178)
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 #2E171F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.049
- Dark Brown #341C02 ΔE 0.054
- Dark #1B2431 ΔE 0.055
- Dark Maroon #3C0008 ΔE 0.058
- Eggplant #380835 ΔE 0.063
- Rich Black #0D1B2A ΔE 0.064
- Chocolate Brown #411900 ΔE 0.064
- Deep Brown #410200 ΔE 0.065
Use #2E171F 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.