#27170D
Closest named color: Dark Brown (#341C02). oklch(22.3% 0.032 52.4), rgb(39, 23, 13).
Aa
White text reads best on this color (17.28:1).
About this color
#27170D is a very dark, muted brown. In OKLCH its lightness is 22%, its chroma 0.032 and its hue 52°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.039 away. White text reads best on it, at 17.28:1.
| Hue family | Browns |
| Lightness | very dark (22%) |
| Chroma | muted (0.032) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.21:1 |
| White text | 17.28:1 |
Values
| HEX | #27170D |
| RGB | rgb(39, 23, 13) |
| HSL | hsl(23, 50%, 10%) |
| OKLCH | oklch(22.3% 0.032 52.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 #27170D | 17.28:1 | AAA | Lc -106.4 | Preferred for body text |
| Black text on #27170D | 1.21:1 | Fails | Lc 0.0 | Not readable |
| #27170D text on white | 17.28:1 | AAA | Lc 104.1 | Preferred for body text |
| #27170D text on black | 1.21: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
#F8F5F2
oklch(97.2% 0.005 67.8)
-
Step 100
100
#F0E8E3
oklch(93.6% 0.011 54.5)
-
Step 200
200
#E5D6CD
oklch(88.6% 0.021 53.2)
-
Step 300
300
#D5BBAB
oklch(81% 0.037 53.6)
-
Step 400
400
#BF977E
oklch(70.7% 0.06 53.5)
-
Step 500
500
#AF7C5E
oklch(63% 0.077 51.3)
-
Step 600
600
#9A6544
oklch(55.6% 0.083 52.2)
-
Step 700
700
#835435
oklch(49.1% 0.077 53.4)
-
Step 800
800
#6B452D
oklch(42.8% 0.064 52.5)
-
Step 900
900
#573A28
oklch(37.7% 0.05 52.5)
-
Step 950
950 (this color)
#27170D
oklch(22.3% 0.032 52.4)
#27170D 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) | #1C190C | 0.024 |
| Deuteranopia (no green cones) | #1F1C0D | 0.023 |
| Tritanopia (no blue cones) | #2B1414 | 0.020 |
| Achromatopsia (no color) | #1B1B1B | 0.032 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #27170D
#27170D
oklch(22.3% 0.032 52.4)
- #0A1E28
#0A1E28
oklch(22.4% 0.032 232.5)
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 #27170D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.039
- Jet #212529 ΔE 0.057
- Chocolate Brown #411900 ΔE 0.062
- Dark Maroon #3C0008 ΔE 0.066
- Rich Black #0D1B2A ΔE 0.067
- Dark #1B2431 ΔE 0.068
- Deep Brown #410200 ΔE 0.068
- Very Dark Brown #1D0200 ΔE 0.076
Use #27170D 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.