#38171F
Closest named color: Chocolate Brown (#411900). oklch(25.6% 0.053 6.2), rgb(56, 23, 31).
Aa
White text reads best on this color (16.02:1).
About this color
#38171F is a dark, muted red. In OKLCH its lightness is 26%, its chroma 0.053 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.051 away. White text reads best on it, at 16.02:1.
| Hue family | Reds |
| Lightness | dark (26%) |
| Chroma | muted (0.053) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.31:1 |
| White text | 16.02:1 |
Values
| HEX | #38171F |
| RGB | rgb(56, 23, 31) |
| HSL | hsl(345, 42%, 15%) |
| OKLCH | oklch(25.6% 0.053 6.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 #38171F | 16.02:1 | AAA | Lc -105.4 | Preferred for body text |
| Black text on #38171F | 1.31:1 | Fails | Lc 0.0 | Not readable |
| #38171F text on white | 16.02:1 | AAA | Lc 102.8 | Preferred for body text |
| #38171F text on black | 1.31: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
#FBF3F4
oklch(97.1% 0.009 8.5)
-
Step 100
100
#F6E5E8
oklch(93.6% 0.019 5.3)
-
Step 200
200
#EFD0D5
oklch(88.5% 0.035 6.8)
-
Step 300
300
#E5B0BA
oklch(80.8% 0.063 6)
-
Step 400
400
#D68597
oklch(70.6% 0.101 5.6)
-
Step 500
500
#C9657D
oklch(63.1% 0.129 6.3)
-
Step 600
600
#B44A66
oklch(55.6% 0.14 6.4)
-
Step 700
700
#9B3A55
oklch(49.1% 0.131 6.1)
-
Step 800
800
#7E3146
oklch(42.8% 0.108 5.9)
-
Step 900
900
#662C3A
oklch(37.8% 0.085 6.9)
-
Step 950
950 (this color)
#38171F
oklch(25.6% 0.053 6.2)
#38171F 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) | #1D1D1F | 0.058 |
| Deuteranopia (no green cones) | #25241E | 0.055 |
| Tritanopia (no blue cones) | #3D141A | 0.014 |
| Achromatopsia (no color) | #212121 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #38171F
#38171F
oklch(25.6% 0.053 6.2)
- #002A26
#002A26
oklch(25.6% 0.045 185.2)
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 #38171F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.051
- Dark Maroon #3C0008 ΔE 0.051
- Dark Brown #341C02 ΔE 0.052
- Deep Brown #410200 ΔE 0.054
- Dark Plum #3F012C ΔE 0.058
- Jet #212529 ΔE 0.059
- Aubergine #3D0734 ΔE 0.059
- Mahogany #4A0100 ΔE 0.060
Use #38171F 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.