#340D08

Closest named color: Dark Maroon (#3C0008). oklch(22.5% 0.064 30.3), rgb(52, 13, 8).

Aa

White text reads best on this color (17.39:1).

About this color

#340D08 is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.064 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.029 away. White text reads best on it, at 17.39:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.20:1
White text17.39:1

Values

HEX#340D08
RGBrgb(52, 13, 8)
HSLhsl(7, 73%, 12%)
OKLCHoklch(22.5% 0.064 30.3)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #340D08 17.39:1 AAA Lc -106.2 Preferred for body text
Black text on #340D08 1.20:1 Fails Lc 0.0 Not readable
#340D08 text on white 17.39:1 AAA Lc 103.9 Preferred for body text
#340D08 text on black 1.20: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.

  1. Step 50

    50

    #FCF3F1

    oklch(97.1% 0.01 32.5)

  2. Step 100

    100

    #F8E5E1

    oklch(93.6% 0.022 31.8)

  3. Step 200

    200

    #F4CFC9

    oklch(88.4% 0.043 28.8)

  4. Step 300

    300

    #EEAFA4

    oklch(81% 0.076 30)

  5. Step 400

    400

    #E28272

    oklch(70.7% 0.122 30.4)

  6. Step 500

    500

    #D75F4D

    oklch(63.2% 0.155 30.6)

  7. Step 600

    600

    #C24030

    oklch(55.5% 0.169 30.2)

  8. Step 700

    700

    #A73123

    oklch(49% 0.157 30.3)

  9. Step 800

    800

    #882A1F

    oklch(42.7% 0.13 30)

  10. Step 900

    900

    #6D281E

    oklch(37.6% 0.101 30.6)

  11. Step 950

    950 (this color)

    #340D08

    oklch(22.5% 0.064 30.3)

Export this scale for Tailwind in the Tailwind colors tool

#340D08 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1815070.067
Deuteranopia (no green cones)#211D070.062
Tritanopia (no blue cones)#3A050C0.022
Achromatopsia (no color)#1A1A1A0.065

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #340D08

    #340D08

    oklch(22.5% 0.064 30.3)

  • #002126

    #002126

    oklch(22.7% 0.039 209.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340D08

    #340D08

    oklch(22.5% 0.064 30.3)

  • #320C1A

    #320C1A

    oklch(22.5% 0.063 0.8)

  • #2D1500

    #2D1500

    oklch(22.6% 0.052 60.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #340D08

    #340D08

    oklch(22.5% 0.064 30.3)

  • #00221D

    #00221D

    oklch(22.6% 0.041 181)

  • #001E31

    #001E31

    oklch(22.4% 0.052 240.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340D08

    #340D08

    oklch(22.5% 0.064 30.3)

  • #00230B

    #00230B

    oklch(22.4% 0.061 150.4)

  • #111939

    #111939

    oklch(22.6% 0.063 270.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340D08

    #340D08

    oklch(22.5% 0.064 30.3)

  • #191F00

    #191F00

    oklch(22.5% 0.053 119.5)

  • #002126

    #002126

    oklch(22.7% 0.039 209.2)

  • #211335

    #211335

    oklch(22.5% 0.065 300.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #340D08, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #340D08 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.