#2C171E
Closest named color: Jet (#212529). oklch(23.6% 0.036 358.7), rgb(44, 23, 30).
Aa
White text reads best on this color (16.82:1).
About this color
#2C171E is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.036 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.048 away. White text reads best on it, at 16.82:1.
| Hue family | Reds |
| Lightness | very dark (24%) |
| Chroma | muted (0.036) |
| Temperature | warm |
| Nearest name | Jet (#212529) |
| Black text | 1.24:1 |
| White text | 16.82:1 |
Values
| HEX | #2C171E |
| RGB | rgb(44, 23, 30) |
| HSL | hsl(340, 31%, 13%) |
| OKLCH | oklch(23.6% 0.036 358.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 #2C171E | 16.82:1 | AAA | Lc -106.1 | Preferred for body text |
| Black text on #2C171E | 1.24:1 | Fails | Lc 0.0 | Not readable |
| #2C171E text on white | 16.82:1 | AAA | Lc 103.7 | Preferred for body text |
| #2C171E 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
#F1E7EA
oklch(93.7% 0.012 357)
-
Step 200
200
#E7D3D9
oklch(88.5% 0.024 357.4)
-
Step 300
300
#D9B6C0
oklch(81% 0.042 359)
-
Step 400
400
#C48FA0
oklch(70.6% 0.068 358)
-
Step 500
500
#B47388
oklch(63% 0.086 359)
-
Step 600
600
#9F5B72
oklch(55.6% 0.093 358.9)
-
Step 700
700
#884A60
oklch(49% 0.088 358.2)
-
Step 800
800
#6F3D4E
oklch(42.7% 0.073 358.9)
-
Step 900
900
#5A3541
oklch(37.8% 0.056 359.2)
-
Step 950
950 (this color)
#2C171E
oklch(23.6% 0.036 358.7)
#2C171E 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) | #1A1B1E | 0.038 |
| Deuteranopia (no green cones) | #1F1F1E | 0.036 |
| Tritanopia (no blue cones) | #2F1619 | 0.011 |
| Achromatopsia (no color) | #1D1D1D | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2C171E
#2C171E
oklch(23.6% 0.036 358.7)
- #07241F
#07241F
oklch(23.7% 0.036 179.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 #2C171E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.048
- Dark #1B2431 ΔE 0.054
- Dark Brown #341C02 ΔE 0.054
- Dark Maroon #3C0008 ΔE 0.060
- Rich Black #0D1B2A ΔE 0.060
- Chocolate Brown #411900 ΔE 0.066
- Eggplant #380835 ΔE 0.067
- Deep Brown #410200 ΔE 0.067
Use #2C171E 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.