#340F1B
Closest named color: Dark Maroon (#3C0008). oklch(23.4% 0.061 2.9), rgb(52, 15, 27).
Aa
White text reads best on this color (17.07:1).
About this color
#340F1B is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.061 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.038 away. White text reads best on it, at 17.07:1.
| Hue family | Reds |
| Lightness | very dark (23%) |
| Chroma | muted (0.061) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.23:1 |
| White text | 17.07:1 |
Values
| HEX | #340F1B |
| RGB | rgb(52, 15, 27) |
| HSL | hsl(341, 55%, 13%) |
| OKLCH | oklch(23.4% 0.061 2.9) |
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 #340F1B | 17.07:1 | AAA | Lc -106.1 | Preferred for body text |
| Black text on #340F1B | 1.23:1 | Fails | Lc 0.0 | Not readable |
| #340F1B text on white | 17.07:1 | AAA | Lc 103.6 | Preferred for body text |
| #340F1B text on black | 1.23: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
#FCF3F5
oklch(97.2% 0.01 2)
-
Step 100
100
#F7E4E8
oklch(93.5% 0.021 3.1)
-
Step 200
200
#F1CFD6
oklch(88.5% 0.039 4)
-
Step 300
300
#EAAEBC
oklch(81% 0.072 3.4)
-
Step 400
400
#DC819A
oklch(70.8% 0.115 2.8)
-
Step 500
500
#D05E81
oklch(63.2% 0.148 3)
-
Step 600
600
#BB416A
oklch(55.7% 0.16 3.2)
-
Step 700
700
#A13159
oklch(49.1% 0.15 2.7)
-
Step 800
800
#832A49
oklch(42.8% 0.125 2.6)
-
Step 900
900
#69283D
oklch(37.7% 0.096 2.6)
-
Step 950
950 (this color)
#340F1B
oklch(23.4% 0.061 2.9)
#340F1B 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) | #16171B | 0.068 |
| Deuteranopia (no green cones) | #201F1A | 0.063 |
| Tritanopia (no blue cones) | #390B14 | 0.017 |
| Achromatopsia (no color) | #1C1C1C | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #340F1B
#340F1B
oklch(23.4% 0.061 2.9)
- #002420
#002420
oklch(23.4% 0.041 184.1)
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 #340F1B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.038
- Deep Brown #410200 ΔE 0.049
- Dark Plum #3F012C ΔE 0.051
- Eggplant #380835 ΔE 0.056
- Aubergine #3D0734 ΔE 0.056
- Mahogany #4A0100 ΔE 0.062
- Dark Brown #341C02 ΔE 0.063
- Chocolate Brown #411900 ΔE 0.064
Use #340F1B 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.