#331F18
Closest named color: Dark Brown (#341C02). oklch(26.3% 0.034 40.1), rgb(51, 31, 24).
Aa
White text reads best on this color (15.55:1).
About this color
#331F18 is a dark, muted brown. In OKLCH its lightness is 26%, its chroma 0.034 and its hue 40°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.029 away. White text reads best on it, at 15.55:1.
| Hue family | Browns |
| Lightness | dark (26%) |
| Chroma | muted (0.034) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.34:1 |
| White text | 15.55:1 |
Values
| HEX | #331F18 |
| RGB | rgb(51, 31, 24) |
| HSL | hsl(16, 36%, 15%) |
| OKLCH | oklch(26.3% 0.034 40.1) |
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 #331F18 | 15.55:1 | AAA | Lc -105.1 | Preferred for body text |
| Black text on #331F18 | 1.34:1 | Fails | Lc 0.0 | Not readable |
| #331F18 text on white | 15.55:1 | AAA | Lc 102.4 | Preferred for body text |
| #331F18 text on black | 1.34: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
#F9F4F3
oklch(97.1% 0.006 31.1)
-
Step 100
100
#F1E7E4
oklch(93.5% 0.012 37.4)
-
Step 200
200
#E7D5CE
oklch(88.6% 0.022 42.6)
-
Step 300
300
#D9B9AD
oklch(81% 0.041 41.6)
-
Step 400
400
#C49382
oklch(70.6% 0.064 40)
-
Step 500
500
#B57863
oklch(63.1% 0.083 39.8)
-
Step 600
600
#A0604A
oklch(55.6% 0.09 39.7)
-
Step 700
700
#894F3B
oklch(49.1% 0.084 39.7)
-
Step 800
800
#6F4131
oklch(42.6% 0.069 39.9)
-
Step 900
900
#5A382B
oklch(37.8% 0.053 41.7)
-
Step 950
950 (this color)
#331F18
oklch(26.3% 0.034 40.1)
#331F18 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) | #242117 | 0.031 |
| Deuteranopia (no green cones) | #292518 | 0.027 |
| Tritanopia (no blue cones) | #381C1D | 0.018 |
| Achromatopsia (no color) | #242424 | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #331F18
#331F18
oklch(26.3% 0.034 40.1)
- #0F2930
#0F2930
oklch(26.4% 0.034 217.9)
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 #331F18, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.029
- Chocolate Brown #411900 ΔE 0.039
- Jet #212529 ΔE 0.043
- Dark #1B2431 ΔE 0.059
- Deep Brown #410200 ΔE 0.066
- Dark Maroon #3C0008 ΔE 0.070
- Mahogany #4A0100 ΔE 0.071
- Oxford Blue #1B263B ΔE 0.071
Use #331F18 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.