#340217
Closest named color: Dark Maroon (#3C0008). oklch(21.4% 0.082 0.8), rgb(52, 2, 23).
Aa
White text reads best on this color (17.99:1).
About this color
#340217 is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.082 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.033 away. White text reads best on it, at 17.99:1.
| Hue family | Reds |
| Lightness | very dark (21%) |
| Chroma | moderately saturated (0.082) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.16:1 |
| White text | 17.99:1 |
Values
| HEX | #340217 |
| RGB | rgb(52, 2, 23) |
| HSL | hsl(335, 93%, 11%) |
| OKLCH | oklch(21.4% 0.082 0.8) |
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 #340217 | 17.99:1 | AAA | Lc -106.3 | Preferred for body text |
| Black text on #340217 | 1.16:1 | Fails | Lc 0.0 | Not readable |
| #340217 text on white | 17.99:1 | AAA | Lc 104.0 | Preferred for body text |
| #340217 text on black | 1.16: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
#FEF2F5
oklch(97.1% 0.013 0.3)
-
Step 100
100
#FBE3E9
oklch(93.7% 0.027 0.7)
-
Step 200
200
#F9CBD7
oklch(88.5% 0.054 0.8)
-
Step 300
300
#F5A6BD
oklch(80.8% 0.097 0.5)
-
Step 400
400
#EC739B
oklch(70.7% 0.154 0.9)
-
Step 500
500
#E24683
oklch(63.1% 0.198 0.7)
-
Step 600
600
#CD176C
oklch(55.6% 0.215 0.9)
-
Step 700
700
#B1005A
oklch(49.2% 0.199 1.1)
-
Step 800
800
#900C4A
oklch(42.8% 0.166 0.8)
-
Step 900
900
#73183E
oklch(37.6% 0.128 0.4)
-
Step 950
950 (this color)
#340217
oklch(21.4% 0.082 0.8)
#340217 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) | #0D1018 | 0.093 |
| Deuteranopia (no green cones) | #1B1A16 | 0.083 |
| Tritanopia (no blue cones) | #39000A | 0.026 |
| Achromatopsia (no color) | #171717 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #340217
#340217
oklch(21.4% 0.082 0.8)
- #001F1A
#001F1A
oklch(21.4% 0.039 180.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 #340217, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.033
- Dark Plum #3F012C ΔE 0.047
- Deep Brown #410200 ΔE 0.053
- Eggplant #380835 ΔE 0.058
- Aubergine #3D0734 ΔE 0.058
- Very Dark Purple #2A0134 ΔE 0.067
- Mahogany #4A0100 ΔE 0.068
- Midnight Purple #280137 ΔE 0.074
Use #340217 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.